An issue was discovered in the comrak crate before 0.9.1 for Rust. XSS can occur because the protection mechanism for data: and javascript: URIs is case-sensitive, allowing (for example) Data: to be used in an attack.
References
Link | Resource |
---|---|
https://rustsec.org/advisories/RUSTSEC-2021-0026.html | Third Party Advisory |
https://rustsec.org/advisories/RUSTSEC-2021-0026.html | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:58
Type | Values Removed | Values Added |
---|---|---|
References | () https://rustsec.org/advisories/RUSTSEC-2021-0026.html - Third Party Advisory |
Information
Published : 2021-02-25 01:15
Updated : 2024-11-21 05:58
NVD link : CVE-2021-27671
Mitre link : CVE-2021-27671
CVE.ORG link : CVE-2021-27671
JSON object : View
Products Affected
comrak_project
- comrak
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')