Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-42575 EUVD-2021-2151GHSA-3w73-fmf3-hg5c

Policies not properly enforced in OWASP Java HTML Sanitizer

Published Oct 18, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

The OWASP Java HTML Sanitizer before 20211018.1 does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7 +1 1-5.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-javapackages-tools +2 6.0.0-7.el9sso RHSA-2022:7411
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.3-1.redhat_00001.1.el7sso RHSA-2022:7411, RHSA-2022:7410, RHSA-2022:7409

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer < 20211018.1 20211018.1 GHSA-3w73-fmf3-hg5c

Advisories 9

References