CVE-2021-42576: Input Validation

Published Oct 18, 2021
·
Updated

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.

Affected Software

4 affected componentsFixes available
Microco Bluemonday Go<1.0.16
Python pybluemonday<0.0.8
go/github.com/microcosm-cc/bluemonday<1.0.16
1.0.16
pip/pybluemonday<0.0.8
0.0.8

Event History

Oct 18, 2021
CVE Published
via MITRE·02:36 PM
Data Sourced
via MITRE·02:36 PM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityAffected Software
Oct 19, 2021
Advisory Published
via GitHub·08:15 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-42576?

CVE-2021-42576 is a vulnerability in the bluemonday sanitizer before 1.0.16 for Go and before 0.0.8 for Python (in pybluemonday) that does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

2

How severe is CVE-2021-42576?

CVE-2021-42576 has a severity rating of 9.8, which is considered critical.

3

What software versions are affected by CVE-2021-42576?

The bluemonday sanitizer before 1.0.16 for Go and before 0.0.8 for Python (in pybluemonday) are affected by CVE-2021-42576.

4

How can I fix CVE-2021-42576?

To fix CVE-2021-42576, you should update your bluemonday sanitizer to version 1.0.16 for Go or version 0.0.8 for Python (in pybluemonday) or later.

5

Where can I find more information about CVE-2021-42576?

You can find more information about CVE-2021-42576 at the following reference: https://docs.google.com/document/d/11SoX296sMS0XoQiQbpxc5pNxSdbJKDJkm5BDv0zrX50/

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203