Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Comrak Project | Comrak | < 0.9.1 |
Related Weaknesses (CWE)
References
- https://rustsec.org/advisories/RUSTSEC-2021-0026.htmlThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0026.htmlThird Party Advisory
FAQ
What is CVE-2021-27671?
CVE-2021-27671 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 u...
How severe is CVE-2021-27671?
CVE-2021-27671 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-27671?
Check the references section above for vendor advisories and patch information. Affected products include: Comrak Project Comrak.