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
Published Jan 29, 2020
8.7
HIGHCVSS 4.0
EPSS 0.61%
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.
Affected products
No data.
- ≥ 5.0.0 · ≤ 5.5.2
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.61% (0.00606) | 47.13th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.61% (0.00606) | 47.66th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.07% (0.00073) | 31.96th | v3 (v2023.03.01) |
| Jun 20, 2024 | 0.07% (0.00073) | 31.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00073) | 29.58th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.25% (0.05246) | 75.87th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.95% (0.01953) | 49.98th | v1 |
| Jan 6, 2022 | 1.95% (0.01953) | 49.47th | v1 |
| Jan 5, 2022 | 0.44% (0.00442) | 28.89th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.44% (0.00442) | 0.00th | v1 |
References (7)
- https://github.com/advisories/GHSA-fjq3-5pxw-4wj4 Advisory
- https://github.com/marshmallow-code/webargs/commit/b9ee8b0aa668207a363d9fd21d967eeadb975c3e
- https://github.com/pypa/advisory-database/tree/main/vulns/webargs/PYSEC-2020-156.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2020-7965
- https://webargs.readthedocs.io/en/latest/changelog.html x_refsource_CONFIRMRelease NotesVendor Advisory
- https://webargs.readthedocs.io/en/latest/changelog.html#b4-2020-01-28
- https://webargs.readthedocs.io/en/latest/changelog.html#id11
Change history (0)
No recorded changes yet.