CVE-2021-42576Published Oct 18, 2021 · Oct 18Updated Oct 24
Policies not properly enforced in bluemonday
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pybluemonday PyPI |
|
|
| github.com/microcosm-cc/bluemonday Go |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| pybluemonday PyPI |
|
|
| github.com/microcosm-cc/bluemonday Go |
|
|
The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.
From the CVE record · mitre
Go bluemonday before 1.0.16 and Python pybluemonday before 0.0.8 do not properly enforce sanitizer policies for SELECT, STYLE, and OPTION elements. An attacker who can provide content for sanitization may bypass those policies; the input does not specify whether authentication or user interaction is required.
Engineers running github.com/microcosm-cc/bluemonday before 1.0.16 or PyPI pybluemonday before 0.0.8 should check their installations.