cve.bz

CVE-2021-38193

6.1 mediumEPSS 0.7%

Medium (6.1) in ammonia project ammonia. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in ammonia 2.1.3, 3.1.0.

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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.7% chance of exploitation in the next 30 days; higher than 53% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5325-xw5m-phm3crates.ioammonia>=3.0.0 <3.1.03.1.0
GHSA-5325-xw5m-phm3crates.ioammonia<2.1.32.1.3
RUSTSEC-2021-0074crates.ioammonia>=0.0.0-0 <2.1.3
>=3.0.0 <3.1.0
2.1.3, 3.1.0

References

Check your stackJSON