Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-43996

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-43996
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:56 UTC · Revision 1

Source evidence

CVE-2022-43996

core-osv · Original source

Published 13 Dec 2022, 00:00 UTC

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.

osv:CVE-2022-43996
Complete source record
{
  "id": "f6d824102be495fed9c64cbd632c813eb94ed5adfec1b1b0ebad2d07d74b5a83",
  "url": "https://osv.dev/vulnerability/CVE-2022-43996",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-43996",
    "summary": "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.",
    "evidence": "osv:CVE-2022-43996",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-43996",
      "aliases": [
        "CVE-2022-43996",
        "GHSA-xxfx-w2rw-gh63",
        "GO-2022-1164"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gocsaf/csaf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "17f22855ee8d4270dd17ff748c30ed7304846fdc"
                }
              ],
              "database_specific": {
                "cpe": "cpe:2.3:a:csaf_provider_project:csaf_provider:*:*:*:*:*:*:*:*",
                "source": "CPE_RANGE",
                "extracted_events": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.8.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.8.1",
            "v0.8.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0-alpha.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-43996.json"
          }
        }
      ],
      "modified": "2026-10-08T02:47:44.236947902Z",
      "provider": "osv",
      "references": [
        "https://wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.json",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43996.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-43996"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43996.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-43996",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 98234,
  "published_at": "2022-12-13T00:00:00+00:00"
}