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.
References
| Link | Resource |
|---|---|
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0074.html | Exploit Issue Tracking Patch Third Party Advisory |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0074.html | Exploit Issue Tracking Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 06:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md - Third Party Advisory | |
| References | () https://rustsec.org/advisories/RUSTSEC-2021-0074.html - Exploit, Issue Tracking, Patch, Third Party Advisory |
16 Aug 2021, 16:37
| Type | Values Removed | Values Added |
|---|---|---|
| References | (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0074.html - Exploit, Issue Tracking, Patch, Third Party Advisory | |
| References | (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ammonia/RUSTSEC-2021-0074.md - Third Party Advisory | |
| CPE | cpe:2.3:a:ammonia_project:ammonia:*:*:*:*:*:rust:*:* | |
| CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 6.1 |
| CWE | CWE-79 |
08 Aug 2021, 06:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2021-08-08 06:15
Updated : 2024-11-21 06:16
NVD link : CVE-2021-38193
Mitre link : CVE-2021-38193
CVE.ORG link : CVE-2021-38193
JSON object : View
Products Affected
ammonia_project
- ammonia
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
