Skip to main content
No exploitation reportedFix available

CVE-2020-7965

No exploitation reported by the sources we read.

  • Published2020-01-29
  • Fixed in6.0.0b4 · 5.5.3
  • WeaknessCWE-352

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-01-2915:15CVE publishedNVD

Versions per branch

OSV · NVD
webargs
BranchAffectedFixed in
6.0≥ 6.0.0b1, < 6.0.0b46.0.0b4
5.x≥ 5.0.0, < 5.5.35.5.3
Webargs project webargs
BranchAffectedFixed in
5.x≥ 5.0.0, ≤ 5.5.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update webargs to 6.0.0b4 · 5.5.3

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-01-29
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-fjq3-5pxw-4wj4

Frequently asked questions

What is CVE-2020-7965?

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.

Is CVE-2020-7965 actively exploited?

Active exploitation of CVE-2020-7965 has not been confirmed. Its EPSS score was 0.6% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-7965?

CVE-2020-7965 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running webargs? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record