Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS14eGZ4LXcycnctZ2g2M84AAwVh

csaf-poc/csaf_distribution Cross-site Scripting vulnerability

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.

Permalink: https://github.com/advisories/GHSA-xxfx-w2rw-gh63
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14eGZ4LXcycnctZ2g2M84AAwVh
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: 7 months ago


Identifiers: GHSA-xxfx-w2rw-gh63, CVE-2022-43996
References: Repository: https://github.com/csaf-poc/csaf_distribution
Blast Radius: 1.0

Affected Packages

go:github.com/csaf-poc/csaf_distribution
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 0.8.2
Fixed in: 0.8.2
All affected versions: 0.2.0, 0.3.0, 0.8.0, 0.8.1
All unaffected versions: 0.8.2, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 1.0.0