CVE-2021-29272
JSON

6.1medium

Cross-site scripting in bluemonday

Severity
6.1medium CVSS:3.1 by NVD
Exploit likelihood
0.93% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3x58-xr87-2fcjGO-2022-0762

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/microcosm-cc/bluemonday (Go)before 1.0.5, before 0.0.0-20171222150656-5793ebcff14d, from 0.0.0-20190711225452-876b4780bed1 before 0.0.0-20210327103112-524f142fe46e, from 1.0.3-0.20190711225452-876b4780bed1 before 1.0.5GitHub Advisory Database, Go Vulnerability Database
microco bluemondaybefore 1.0.5NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

bluemonday before 1.0.5 allows XSS because certain Go lowercasing converts an uppercase Cyrillic character, defeating a protection mechanism against the "script" string.

Go Vulnerability Database

An XSS injection was possible because the sanitization of the Cyrillic character i bypass a protection mechanism against user-inputted HTML elements such as the <script> tag.

NVD (es)

bluemonday versiones anteriores a 1.0.5, permite un ataque de tipo XSS porque determinadas minúsculas Go se convierten a un carácter Cyrillic en mayúsculas, anulando un mecanismo de protección contra la cadena "script".

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29272 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-3x58-xr87-2fcj changed 2024-05-20CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0762 changed 2026-11-23CC-BY-4.0
NVDCVE-2021-29272 changed 2026-06-17Public domain