CVE-2022-36033 in Jsoup and 3 more products
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` o...
Affects 4 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Jsoup | Jsoup | < 1.15.3 |
| Netapp | Oncommand Workflow Automation | No version listed by the source |
| Netapp | Management Services For Element Software | No version listed by the source |
| Netapp | Management Services For Netapp Hci | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.)
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-36033 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-066197-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2022-08-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
CWE-87: CWE-87
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-199 XSS Using Alternate Syntax via CWE-87
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
jsoup, a Java HTML parser, may incorrectly sanitize HTML including `javascript:` URL expressions, potentially allowing XSS attacks if the non-default `SafeList.preserveRelativeLinks` option is enabled.
An attacker can craft HTML content with `javascript:` URLs that bypass the intended sanitization in jsoup when the `SafeList.preserveRelativeLinks` option is enabled. This can lead to XSS vulnerabilities if the sanitized HTML is rendered in a web browser.
Questions
What is CVE-2022-36033?
jsoup, a Java HTML parser, may incorrectly sanitize HTML including `javascript:` URL expressions, potentially allowing XSS attacks if the non-default `SafeList.preserveRelativeLinks` option is enabled.
What is the CVSS score for CVE-2022-36033?
CVE-2022-36033 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 1.6%.
Is CVE-2022-36033 actively exploited?
No confirmed active exploitation of CVE-2022-36033 as of 2026-09-25.
How do I remediate CVE-2022-36033?
Priority: MEDIUM. Advisory: https://jsoup.org/news/release-1.15.3 PSIRT: [email protected]
What systems are affected by CVE-2022-36033?
CVE-2022-36033 affects Jsoup Jsoup; Netapp Oncommand Workflow Automation, Management Services For Element Software, Management Services For Netapp Hci.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Jsoup","product":"Jsoup","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.