5.4medium
csaf-poc/csaf_distribution Cross-site Scripting vulnerability
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.51% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xxfx-w2rw-gh63GO-2022-1164
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/csaf-poc/csaf_distribution (Go) | before 0.8.2 | GitHub Advisory Database, Go Vulnerability Database |
| csaf_provider_project csaf_provider | before 0.8.2 | NVD |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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 Vulnerability Database
csaf-poc/csaf_distribution Cross-site Scripting vulnerability in github.com/csaf-poc/csaf_distribution
NVD (es)
El paquete csaf_provider anterior a 0.8.2 permite XSS a través de un documento CSAF diseñado y cargado como texto/html. La carga del endpoint permite cargar avisos CSAF válidos (formato JSON) con texto/html de tipo de contenido y nombres de archivos que terminan en .html. Cuando se accede posteriormente a través de un navegador web, estos avisos se entregan e interpretan como páginas HTML. Dichos avisos cargados pueden contener código JavaScript que se ejecutará dentro del contexto del navegador de los usuarios que inspeccionan el aviso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-43996 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xxfx-w2rw-gh63 changed 2025-04-23 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-1164 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2022-43996 changed 2026-06-17 | Public domain |