-
Notifications
You must be signed in to change notification settings - Fork 0
Comments demo #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Comments demo #23
Conversation
| from flask import jsonify | ||
| from flask import request | ||
| from flask import Response | ||
| import xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found use of the native Python XML libraries, which is vulnerable to XML external entity (XXE) attacks and can lead to discolsure of confidential data. The Python documentation recommends the 'defusedxml' library instead.
| import xml | |
| import defusedxml |
🙈 From python.lang.security.use-defused-xml.use-defused-xml.
|
Semgrep found 6 This expression is always True: 🙈 From python.lang.correctness.useless-eqeq.useless-eqeq. |
| from flask import jsonify | ||
| from flask import request | ||
| from flask import Response | ||
| import xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found use of the native Python XML libraries, which is vulnerable to XML external entity (XXE) attacks and can lead to discolsure of confidential data. The Python documentation recommends the 'defusedxml' library instead.
| import xml | |
| import defusedxml |
🙈 From python.lang.security.use-defused-xml.use-defused-xml.
|
Semgrep found 6 This expression is always True: 🙈 From python.lang.correctness.useless-eqeq.useless-eqeq. |
No description provided.