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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-12-13T00:00:00

Updated: 2024-08-03T13:47:04.593Z

Reserved: 2022-10-29T00:00:00

Link: CVE-2022-43996

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-12-13T22:15:10.247

Modified: 2024-11-21T07:27:29.550

Link: CVE-2022-43996

cve-icon Redhat

No data.