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

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2022-12-13T00:00:00.000Z
- Modified: 2026-06-17T05:07:36.757Z
- Also known as: GHSA-xxfx-w2rw-gh63, GO-2022-1164
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/csaf-poc/csaf_distribution (Go): before 0.8.2
- csaf_provider_project csaf_provider: before 0.8.2

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## 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> (fix, web)
- <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)

## Sources

- CVE List: [CVE-2022-43996](https://www.cve.org/CVERecord?id=CVE-2022-43996), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-xxfx-w2rw-gh63](https://github.com/advisories/GHSA-xxfx-w2rw-gh63), CC-BY-4.0, modified 2025-04-23
- Go Vulnerability Database: [GO-2022-1164](https://pkg.go.dev/vuln/GO-2022-1164), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-43996](https://nvd.nist.gov/vuln/detail/CVE-2022-43996), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-43996 · Whole record: https://cve.day/CVE-2022-43996.json · Rebuilt by cve.day 2026-11-25T22:58:17.515Z
