Relative Content

Tag Archive for python-3.xpython-requestspymongocode-injection

Python – Requests Module – Malicious Code Injection Possibility

I am loading data from an external website which I expect to be in JSON format (but in general that might not be guaranteed). I am using the Python requests library to load this data. I then convert this data to json and to dictionary which is subsequently saved into a database. The code looks like the following: