CVE-2022-43996
mediumpriority · track · 22EPSS 0.005 · 42 %ileDEEUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedcert_bund
Update to the latest version, at least version 0.8.2.
https://github.com/csaf-poc/csaf_distribution/releases/latest - Mitigationcert_bund
Ensure that no CSAF advisories containing JavaScript code are uploaded, e.g. by organizational measures.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
- csaf provider project csaf provider< 0.8.2nvdUScpe:2.3:a:csaf_provider_project:csaf_provider:*:*:*:*:*:*:*:*
- Go github.com/csaf-poc/csaf_distribution< 0.8.2osvUSpkg:golang/github.com/csaf-poc/csaf_distribution
advisories (3)
Vendor and ecosystem advisories describing this.
- BSI-2022-0003Stored Cross-Site Scripting (XSS) Vulnerability in csaf_provider2022-11-04csaf · cert_bundDE
- GHSA-xxfx-w2rw-gh63csaf-poc/csaf_distribution Cross-site Scripting vulnerability2022-12-14ghsa · osvUS
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.
- GO-2022-1164csaf-poc/csaf_distribution Cross-site Scripting vulnerability in github.com/csaf-poc/csaf_distribution2024-08-21vendor · osvUS
csaf-poc/csaf_distribution Cross-site Scripting vulnerability in github.com/csaf-poc/csaf_distribution
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-43996/cnnvd
- https://github.com/csaf-poc/csaf_distributionPatchcnnvd
- https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.jsoncnnvd
- https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.jsonenisa_euvd
- https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.jsonThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan