As per my understanding, Scrum is a Framework. Following is my view of the Scrum Framework and I would like to hear your ideas as well.
The methodology is a set of principles and practices which can be used to guide processes while the framework is real or conceptual structure intended to serve as a support or guide for the building of something. Agile is methodology since it provides a set of values and principles to guide software development. Any process which can be aligned with values and principles is Agile and there is no need of a framework for being in Agile. Scrum guide itself encourages to follow the defined structure to practice Scrum. Further, it says if you violate any of the Scrum practices defined by Scrum guide, you are not doing Scrum. The Scrum provides a conceptual structure to developing software as it is a framework. In general, a Methodology is an open boundary process while the framework is a closed boundary.
Finally, the most important thing is we must ensure Agile values and build an Agile mindset for being Agile rather than doing Agile. If you focus more on the Scrum framework, probably you will be stuck in the closed boundary. (This will leads to doing Agile). To being Agile you must focus more on Agile values and practices.