CVE-2022-36033

jsoup: jsoup is a Java HTML parser, built for HTML editing, cleaning, scraping, and cross-site scripting (XSS) safety

CVE-2022-36033 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2022-36033, released August 29, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0164
76th percentile

jsoup is a Java HTML parser, built for HTML editing, cleaning, scraping, and cross-site scripting (XSS) safety. 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 that have been 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 then possible. This issue is patched in jsoup 1.15.3. Users should upgrade to this version. Additionally, as the unsanitized input may have been persisted, old content should be cleaned again using the updated version. To remediate this issue without immediately upgrading: - disable `SafeList.preserveRelativeLinks`, which will rewrite input URLs as absolute URLs - ensure an appropriate [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) is defined. (This should be used regardless of upgrading, as a defence-in-depth best practice.)

Where it's fixed

ProductFixed inFixReleased
Linux
jsoup · Debian 12.15 (bookworm) 1.15.3-1 DEBIAN-CVE-2022-36033 Aug 29, 2022
jsoup · Debian 13.5 (trixie) 1.15.3-1 DEBIAN-CVE-2022-36033 Aug 29, 2022
jsoup · Debian 14 1.15.3-1 DEBIAN-CVE-2022-36033 Aug 29, 2022
jsoup · amzn 2023 1.13.1-9.amzn2023.0.5 ALAS2023-2023-315 Aug 17, 2023
jsoup-javadoc · amzn 2023 1.13.1-9.amzn2023.0.5 ALAS2023-2023-315 Aug 17, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.