Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzMjUteHc1bS1waG0z

Cross-site Scripting in ammonia

An issue was discovered in the ammonia crate before 3.1.0 for Rust. XSS can occur because the parsing differences for HTML, SVG, and MathML are mishandled, a similar issue to CVE-2020-26870.

Permalink: https://github.com/advisories/GHSA-5325-xw5m-phm3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzMjUteHc1bS1waG0z
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: about 1 year ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-5325-xw5m-phm3, CVE-2021-38193
References: Repository: https://github.com/rust-ammonia/ammonia
Blast Radius: 17.3

Affected Packages

cargo:ammonia
Dependent packages: 42
Dependent repositories: 685
Downloads: 4,150,385 total
Affected Version Ranges: < 2.1.3, >= 3.0.0, < 3.1.0
Fixed in: 2.1.3, 3.1.0
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 3.0.0
All unaffected versions: 2.1.3, 2.1.4, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.0, 3.2.1, 3.3.0, 4.0.0