All reports
Medium

Cross site scripting in comrak

Affected versions

Version ranges need review.

Rust / Cargocomrak
Affected versions
< 0.9.1
Fixed version
0.9.1
Rust / Cargocomrak
Affected versions
>=0.0.0-0 <0.9.1
Fixed version
0.9.1

Exploitation

CVE-2021-27671

Probability of exploitation in the next 30 days: 0.69%

FIRST EPSS · 2026-11-18

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.

Links

Credits

  • tdunlap607