GHSA-xmr7-v725-2jjr
Dashboard / Vulnerabilities / GHSA-xmr7-v725-2jjr
GHSA-xmr7-v725-2jjr
Published: 25 Aug 2021Last Modified: 8 Nov 2023
Aliases:
Summary: Cross site scripting in comrak
Details: An issue was discovered in the comrak crate before 0.9.1 for Rust. Cross site scripting (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: https://nvd.nist.gov/vuln/detail/CVE-2021-27671, https://github.com/kivikakk/comrak/commit/b3efbb6e427bcd33bb14db45753ad4fd98e0f5bf, https://github.com/kivikakk/comrak, https://github.com/kivikakk/comrak/releases/tag/0.9.1, https://rustsec.org/advisories/RUSTSEC-2021-0026.html
Affected packages
Package
Name: comrak
Purl: pkg:cargo/comrak
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.9.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
