Advisory

GHSA-xxfx-w2rw-gh63

Also known as: CVE-2022-43996, GO-2022-1164

Summary

csaf-poc/csaf_distribution Cross-site Scripting vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-14 00:30 UTC
Modified
2025-04-23 14:55 UTC

Affected packages and fixes

github.com/csaf-poc/csaf_distribution

Go · All systems

Affected

  • introduced 0, fixed 0.8.2 (semver)

Fixed versions

0.8.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences