CVE-2022-43996
MEDIUM 5.4CVSS 3.1csaf-poc/csaf_distribution Cross-site Scripting vulnerability
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.
- Published
- 13 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-xxfx-w2rw-gh63GO-2022-1164
- Sources
- NVDJSONOSV GHSA-xxfx-w2rw-gh63JSONOSV GO-2022-1164JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | csaf_provider_project | csaf_providercpe:2.3:a:csaf_provider_project:csaf_provider:*:*:*:*:*:*:*:* |
< 0.8.2 | 0.8.2 |
| OSV | Go | github.com/csaf-poc/csaf_distribution | < 0.8.2 | 0.8.2 |
References
- https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.json · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-43996 · ADVISORY
- https://github.com/csaf-poc/csaf_distribution/commit/17f22855ee8d4270dd17ff748c30ed7304846fdc · WEB, FIX
- https://github.com/csaf-poc/csaf_distribution · PACKAGE
- https://github.com/csaf-poc/csaf_distribution/releases/tag/v0.8.2 · WEB
- https://github.com/advisories/GHSA-xxfx-w2rw-gh63 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Dec 2022)