CVE-2021-38193
MEDIUMCVSS 6.1/10EPSS 0.70%
Last modified
CVE-2021-38193 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.70% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ammonia Project | Ammonia | < 3.1.0 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0074.htmlExploit, Issue Tracking, Patch, Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0074.htmlExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-38193?
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.
How severe is CVE-2021-38193?
CVE-2021-38193 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.70% probability of exploitation in the next 30 days.
How do I fix CVE-2021-38193?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-38188An issue was discovered in the iced-x86 crate through 1.10.3…9.8
- CVE-2021-38189An issue was discovered in the lettre crate before 0.9.6 for…9.8
- CVE-2021-3819firefly-iii is vulnerable to Cross-Site Request Forgery (CSR…8.8
- CVE-2021-38190An issue was discovered in the nalgebra crate before 0.27.1 …9.8
- CVE-2021-38191An issue was discovered in the tokio crate before 1.8.1 for …5.9
- CVE-2021-38192An issue was discovered in the prost-types crate before 0.8.…7.5
- CVE-2021-38194An issue was discovered in the ark-r1cs-std crate before 0.3…9.8
- CVE-2021-38195An issue was discovered in the libsecp256k1 crate before 0.5…9.8
- CVE-2021-38196An issue was discovered in the better-macro crate through 20…9.8
- CVE-2021-38197unarr.go in go-unarr (aka Go bindings for unarr) 0.1.1 allow…9.8
- CVE-2021-38198arch/x86/kvm/mmu/paging_tmpl.h in the Linux kernel before 5.…5.5
- CVE-2021-38199fs/nfs/nfs4client.c in the Linux kernel before 5.13.4 has in…6.5
Are you affected by CVE-2021-38193?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
