Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-43996 EUVD-2022-7779GHSA-xxfx-w2rw-gh63GO-2022-1164

csaf-poc/csaf_distribution Cross-site Scripting vulnerability

Published Dec 13, 2022 · Updated Apr 22, 2025 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/csaf-poc/csaf_distribution < 0.8.2 0.8.2 GHSA-xxfx-w2rw-gh63

Advisories 1

References