ADVISORIES

Red Hat VEX

RHVEX-CVE-2022-36033

jsoup: The jsoup cleaner may incorrectly sanitize crafted XSS attempts if SafeList.preserveRelativeLinks is enabled

Moderate No fix available CVE-2022-36033

Details

A flaw was found in jsoup, a Java HTML parser built for HTML editing, cleaning, scraping, and Cross-site scripting (XSS) safety. An issue in jsoup may incorrectly sanitize HTML, including javascript: URL expressions, which could allow XSS attacks when a reader subsequently clicks that link. If the non-default SafeList.preserveRelativeLinks option is enabled, HTML, including javascript: URLs crafted with control characters, will not be sanitized. If the site that this HTML is published on does not set a Content Security Policy, an XSS attack is possible.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7jsoup
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7jsoup-javadoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8jsoup
All versions, will not be fixed
Red Hat:enterprise_linux:8jsoup-javadoc
All versions, will not be fixed
Red Hat:enterprise_linux:9jsoup
All versions, will not be fixed

References