XSS in Csaf Provider Project

CVE-2022-43996

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (37.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-43996?
CVE-2022-43996 is a medium-severity vulnerability in Csaf Provider Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2022-12-13.
How severe is CVE-2022-43996?
Medium severity. CVSS v3 base score is 5.4 out of 10.