GHSA-gp7f-rwcx-9369 · Severity: medium · Ecosystem: maven — jsoup may not sanitize code injection XSS attempts if SafeList.preserveRelativeLinks is enabled
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.)
Conclusion & alert: CVE-2022-36033 is rated High Exploit Risk (60.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.16%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.78% | 1.16% | -0.61% |
| 2 | 2026-06-02 | 1.64% | 1.78% | +0.14% |
| 3 | 2026-03-04 | — | 1.64% | — |
Full EPSS history (24 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-gp7f-rwcx-9369 · Severity: medium · Ecosystem: maven — jsoup may not sanitize code injection XSS attempts if SafeList.preserveRelativeLinks is enabled
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-36033 not yet assigned priority: Debian including 1 source packages (jsoup), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2022-36033 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-36033 |
suse
|
medium | CVE-2022-36033 severity moderate: SUSE including 9 source package names (11-6.2:jsoup-1.15.3-150200.3.6.1, 17.0.15.0-7.6:jsoup-1.15.3-150200.3.6.1, …), 20 product×package rows across 14 product lines (Container bci/openjdk-devel, SUSE Linux Enterprise Module for Development Tools 15 SP3, … (14 product lines)): Fixed 20. | https://www.suse.com/security/cve/CVE-2022-36033/ |
ubuntu
|
medium | CVE-2022-36033 medium priority: Ubuntu including 1 source packages (jsoup), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 8, ignored 5. | https://ubuntu.com/security/CVE-2022-36033 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| jsoup | jsoup | < 1.15.3 | cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:* |
| netapp | management_services_for_element_software | — | cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* |
| netapp | management_services_for_netapp_hci | — | cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:* |
| netapp | oncommand_workflow_automation | — | cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/jhy/jsoup/releases/tag/jsoup-1.15.3 | Release Notes Third Party Advisory |
| https://github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369 | Exploit Third Party Advisory |
| https://jsoup.org/news/release-1.15.3 | Release Notes Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20221104-0006/ | Third Party Advisory |