GHSA-6wj2-g87r-pm62
Cross-site Scripting in comrak
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
An issue was discovered in the comrak crate before 0.10.1 for Rust. It mishandles & characters, leading to XSS via &# HTML entities.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-38186
- https://github.com/kivikakk/comrak/commit/b72340cabe4749952530b4fb6b4fcc706bc973e5
- https://github.com/kivikakk/comrak
- https://github.com/kivikakk/comrak/compare/0.10.0...0.10.1
- https://github.com/kivikakk/comrak/releases/tag/0.10.1
- https://rustsec.org/advisories/RUSTSEC-2021-0063.html