The csaf_provider package before 0.8.2 allows XSS via a crafted CSAF document uploaded as text/html. The endpoint upload allows valid CSAF advisories (JSON format) to be uploaded with Content-Type text/html and filenames ending in .html. When subsequently accessed via web browser, these advisories are served and interpreted as HTML pages. Such uploaded advisories can contain JavaScript code that will execute within the browser context of users inspecting the advisory.
References
Link | Resource |
---|---|
https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.json | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2022-12-13 22:15
Updated : 2024-02-28 19:51
NVD link : CVE-2022-43996
Mitre link : CVE-2022-43996
CVE.ORG link : CVE-2022-43996
JSON object : View
Products Affected
csaf_provider_project
- csaf_provider
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')