cve.bz

CVE-2022-43996

5.4 mediumEPSS 0.5%

Medium (5.4) in csaf provider project csaf provider. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in github.com/csaf-poc/csaf_distribution 0.8.2.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
0.5% chance of exploitation in the next 30 days; higher than 41% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xxfx-w2rw-gh63Gogithub.com/csaf-poc/csaf_distribution<0.8.20.8.2
GO-2022-1164Gogithub.com/csaf-poc/csaf_distribution<0.8.20.8.2

References

Check your stackJSON