CVE-2020-7965
Last modified
CVE-2020-7965 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. flaskparser.py in Webargs 5.x through 5.5.2 doesn't check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON, it will accept it even if the content type is application/x-www-form-urlencoded. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
flaskparser.py in Webargs 5.x through 5.5.2 doesn't check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON, it will accept it even if the content type is application/x-www-form-urlencoded. This allows for JSON POST requests to be made across domains, leading to CSRF.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webargs Project | Webargs | >= 5.0.0, <= 5.5.2 |
References
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease Notes, Vendor Advisory
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7965?
How severe is CVE-2020-7965?
How do I fix CVE-2020-7965?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-7957The IMAP and LMTP components in Dovecot 2.3.9 before 2.3.9.3…5.3
- CVE-2020-7958An issue was discovered on OnePlus 7 Pro devices before 10.0…6
- CVE-2020-7959LabVantage LIMS 8.3 does not properly maintain the confident…5.3
- CVE-2020-7961Deserialization of Untrusted Data in Liferay Portal prior to…9.8
- CVE-2020-7962An issue was discovered in One Identity Password Manager 5.8…5.3
- CVE-2020-7964An issue was discovered in Mirumee Saleor 2.x before 2.9.1. …5.3
- CVE-2020-7966GitLab EE 11.11 and later through 12.7.2 allows Directory Tr…7.5
- CVE-2020-7967GitLab EE 8.0 through 12.7.2 has Insecure Permissions (issue…4.3
- CVE-2020-7968GitLab EE 8.0 through 12.7.2 has Incorrect Access Control.7.5
- CVE-2020-7969GitLab EE 8.0 and later through 12.7.2 allows Information Di…7.5
- CVE-2020-7971GitLab EE 11.0 and later through 12.7.2 allows XSS.6.1
- CVE-2020-7972GitLab EE 12.2 has Insecure Permissions (issue 2 of 2).7.5
Are you affected by CVE-2020-7965?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
