Skip to content

CVE-2022-43996 csaf-poc/csaf_distribution Cross-site Scripting vulnerability

MediumCVSS 5.4 EPSS 0.51%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
csaf provider project csaf provider < 0.8.2 0.8.2 Fixed
csaf-poc github.com/csaf-poc/csaf_distribution(Go) < 0.8.2 0.8.2 Fixed

Affected products

ProductAffected versionsFixed in
csaf-poc github.com/csaf-poc/csaf_distribution(Go) < 0.8.2 0.8.2
csaf provider project csaf provider < 0.8.2 0.8.2

References