An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
References
| Link | Resource |
|---|---|
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0063.html | Exploit Issue Tracking Patch Third Party Advisory |
| https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md | Third Party Advisory |
| https://rustsec.org/advisories/RUSTSEC-2021-0063.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/comrak/RUSTSEC-2021-0063.md - Third Party Advisory | |
| References | () https://rustsec.org/advisories/RUSTSEC-2021-0063.html - Exploit, Issue Tracking, Patch, Third Party Advisory |
14 Aug 2021, 16:20
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 6.1 |
| CWE | CWE-79 | |
| CPE | cpe:2.3:a:comrak_project:comrak:*:*:*:*:*:rust:*:* | |
| References | (MISC) https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/comrak/RUSTSEC-2021-0063.md - Third Party Advisory | |
| References | (MISC) https://rustsec.org/advisories/RUSTSEC-2021-0063.html - Exploit, Issue Tracking, Patch, Third Party Advisory |
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-38186
Mitre link : CVE-2021-38186
CVE.ORG link : CVE-2021-38186
JSON object : View
Products Affected
comrak_project
- comrak
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
