ammonia
Affected
- introduced
3.0.0, fixed3.1.0(semver)
Fixed versions
3.1.0
Fix
- Fixed version
3.1.0cargo update -p ammonia --precise 3.1.0
Advisory
Also known as: CVE-2021-38193, RUSTSEC-2021-0074
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.
Medium Basis: The source's own band: MODERATE
3.0.0, fixed 3.1.0 (semver)3.1.0
3.1.0cargo update -p ammonia --precise 3.1.00, fixed 2.1.3 (semver)2.1.3
2.1.3cargo update -p ammonia --precise 2.1.3Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0