{"id":"CVE-2022-43996","published":"2022-12-13T00:00:00Z","modified":"2025-04-22T15:10:58Z","title":"The csaf_provider package before 0.8.2 allows XSS via a crafted CSAF document uploaded as text/html","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00512,"percentile":0.44593,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.json","tags":[]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":3.78}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:10:05.315460Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/csaf-poc/csaf_distribution","vulnerableRanges":["<0.8.2"],"patched":["0.8.2"],"from":["GHSA-xxfx-w2rw-gh63","GO-2022-1164"],"provenance":"source"}],"summary":{"text":"The csaf_provider package before version 0.8.2 contains a cross-site scripting flaw in its advisory upload endpoint, which accepts valid CSAF JSON documents uploaded with a text/html Content-Type and .html filenames and serves them as HTML pages. An attacker with low-privilege access to upload advisories can embed JavaScript that executes in the browser of any user who later views the advisory, and this requires that victim to interact with the uploaded page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:44Z"},"euvd":{"id":"EUVD-2022-7779","exploited":false,"provenance":"source"}}