GitHub Advisoryadvisory · crates.io

GHSA-xmr7-v725-2jjr Cross site scripting in comrak

MEDIUM Published 2021-08-25 Modified 2023-03-22 Official page ↗
Aliases
CVE-2021-27671
Ecosystem
crates.io
Packages
comrak
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2021-08-19

Affected packages

• crates.io comrak: < 0.9.1 → fixed in 0.9.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-27671 An issue was discovered in the comrak crate before 0.9.1 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References