GitHub Advisoryadvisory · crates.io
GHSA-6wj2-g87r-pm62 Cross-site Scripting in comrak
MEDIUM
Official page ↗
- Aliases
- CVE-2021-38186
- 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-18
Affected packages
• crates.io comrak: < 0.10.1 → fixed in 0.10.1
Description
An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
Related
Alias · CVE (1)
- CVE-2021-38186 An issue was discovered in the comrak crate before 0.10.1 for Rust. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-38186 advisory
- https://github.com/kivikakk/comrak/commit/b72340cabe4749952530b4fb6b4fcc706bc973e5 web
- https://github.com/kivikakk/comrak package
- https://github.com/kivikakk/comrak/compare/0.10.0...0.10.1 web
- https://github.com/kivikakk/comrak/releases/tag/0.10.1 web
- https://rustsec.org/advisories/RUSTSEC-2021-0063.html web