CVE-2021-27671

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-27671
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27671.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-27671
Aliases
Published
2021-02-25T01:15:13Z
Modified
2025-01-14T09:02:17.709484Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/kivikakk/comrak

Affected ranges

Type
GIT
Repo
https://github.com/kivikakk/comrak
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.2.0
0.2.1
0.2.10
0.2.11
0.2.12
0.2.13
0.2.14
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7
0.2.8
0.2.9
0.3.0
0.3.1
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.8.1
0.8.2
0.9.0