CVE-2022-36033

Summary

CVECVE-2022-36033
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-29 17:15:00 UTC
Updated2022-12-08 03:48:00 UTC
Descriptionjsoup 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.)

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Jsoup Jsoup All All All All
Application Netapp Management Services For Element Software - All All All
Application Netapp Management Services For Netapp Hci - All All All
Application Netapp Oncommand Workflow Automation - All All All

References

ReferenceSourceLinkTags
jsoup release 1.15.3 (2022-Aug-24) MISC jsoup.org
CVE-2022-36033 jsoup Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
The jsoup cleaner may incorrectly sanitize crafted XSS attempts if SafeList.preserveRelativeLinks is enabled · Advisory · jhy/jsoup · GitHub CONFIRM github.com
Release jsoup 1.15.3 · jhy/jsoup · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184780 Debian Security Update for jsoup (CVE-2022-36033)
  • 355879 Amazon Linux Security Advisory for jsoup : ALAS2023-2023-315
  • 357223 Amazon Linux Security Advisory for jsoup : ALAS2-2024-2466
  • 378427 Oracle PeopleSoft Enterprise PeopleTools Product Multiple Vulnerabilities (CPUAPR2023)
  • 752907 SUSE Enterprise Linux Security Update for jsoup (SUSE-SU-2022:4011-1)
  • 903808 Common Base Linux Mariner (CBL-Mariner) Security Update for jsoup (10740)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report