GitHub Advisoryadvisory · Go
GHSA-3x58-xr87-2fcj Cross-site scripting in bluemonday
MEDIUM
Official page ↗
- Aliases
- CVE-2021-29272
- Ecosystem
- Go
- Packages
- github.com/microcosm-cc/bluemonday
- 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-05-18
Affected packages
• Go github.com/microcosm-cc/bluemonday: < 1.0.5 → fixed in 1.0.5
Description
bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.
Related
Alias · CVE (1)
- CVE-2021-29272 bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-29272 advisory
- https://github.com/microcosm-cc/bluemonday/issues/111 web
- https://github.com/microcosm-cc/bluemonday/commit/524f142fe46e945b7dcd291d7805c4b7dcf75bee web
- https://github.com/microcosm-cc/bluemonday package
- https://github.com/microcosm-cc/bluemonday/releases/tag/v1.0.5 web
- https://pkg.go.dev/vuln/GO-2022-0762 web
- https://vuln.ryotak.me/advisories/4 web
- https://vuln.ryotak.me/advisories/4.txt web