Read the docs
TI-2022-16458 Aliases CVE-2022-36033GHSA-gp7f-rwcx-9369

jsoup may not sanitize Cross-Site Scripting (XSS) attempts if SafeList.preserveRelativeLinks is enabled

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 5 fixed, 21 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.)

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01643 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial jsoup (jhy): 1.15.3org.jsoup:jsoup (Maven): 1.15.3Red Hat: 5 advisoriesRed Hat: 5 fixed, 21 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jhyjsoupbefore 1.15.31.15.3Patch availableCNA
—org.jsoup:jsoup (Maven)before 1.15.31.15.3Patch availableGHSA-gp7f-rwcx-9369
  • jsoup Vendorjhy Affected before 1.15.3 Fixed in 1.15.3 Patch available CNA
  • org.jsoup:jsoup (Maven) Vendor— Affected before 1.15.3 Fixed in 1.15.3 Patch available GHSA-gp7f-rwcx-9369

CPE configurations NVD · 4

CPEVersionsRoleVendor
cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:*before 1.15.3VulnerableJsoup
cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*not specified by NVDVulnerableNetApp
  • cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:* Versions before 1.15.3 Vulnerable ·Jsoup
  • cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
  • cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp

Remediation

  • Fix · CNA jsoup (jhy) Fixed in 1.15.3
  • Fix · GHSA-gp7f-rwcx-9369 org.jsoup:jsoup (Maven) Fixed in 1.15.3 Advisory →

Red Hat 5 advisories

  • RHSA-2024:8080 Released 2024-10-14 · Red Hat rating Important
    Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
    • Red Hat JBoss Enterprise Application Platform io.undertow.undertow-core-2.2.33.SP2-redhat-00001.jar, org.bitbucket.b_c.jose4j-0.9.3.redhat-00002.pom, org.jsoup.jsoup-1.15.4.redhat-00003.jar +2
  • RHSA-2024:8075 Released 2024-10-14 · Red Hat rating Important
    Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
    • Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-hal-console-3.3.24-1.Final_redhat_00001.1.el7eap, eap7-hibernate-validator-6.0.23-2.SP1_redhat_00001.1.el7eap, eap7-hibernate-validator-cdi-6.0.23-2.SP1_redhat_00001.1.el7eap +24
  • RHSA-2024:8076 Released 2024-10-14 · Red Hat rating Important
    Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
    • Red Hat JBoss EAP 7.4 for RHEL 8 eap7-hal-console-3.3.24-1.Final_redhat_00001.1.el8eap, eap7-hibernate-validator-6.0.23-2.SP1_redhat_00001.1.el8eap, eap7-hibernate-validator-cdi-6.0.23-2.SP1_redhat_00001.1.el8eap +25
Show 2 more Red Hat advisories
  • RHSA-2024:8077 Released 2024-10-14 · Red Hat rating Important
    Red Hat JBoss Enterprise Application Platform 7.4.19 Security update
    • Red Hat JBoss EAP 7.4 for RHEL 9 eap7-hal-console-3.3.24-1.Final_redhat_00001.1.el9eap, eap7-hibernate-validator-6.0.23-2.SP1_redhat_00001.1.el9eap, eap7-hibernate-validator-cdi-6.0.23-2.SP1_redhat_00001.1.el9eap +25
  • RHSA-2024:6656 Released 2024-09-12 · Red Hat rating Moderate
    Migration Toolkit for Runtimes security, bug fix and enhancement update
    • Migration Toolkit for Runtimes 1 on RHEL 8 mtr/mtr-operator-bundle, mtr/mtr-rhel8-operator, mtr/mtr-web-container-rhel8 +1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
A-MQ Clients 2AffectedNo fix planned: Will not fix
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet
Migration Toolkit for Applications 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat Fuse 7AffectedNo fix planned: Will not fix
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat JBoss Data Grid 7AffectedNo fix planned: Will not fix
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat Process Automation 7AffectedNo fix planned: Will not fix
Red Hat Single Sign-On 7AffectedNo fix yet
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix planned: Will not fix
Red Hat build of Apache Camel for Spring Boot 3AffectedNo fix yet
Red Hat build of Apache Camel for Spring Boot 4AffectedNo fix planned: Will not fix
Red Hat build of Apicurio Registry 2AffectedNo fix yet
Red Hat build of Debezium 2AffectedNo fix yet
Red Hat build of OptaPlanner 8AffectedNo fix yet
Red Hat build of Quarkus Native builderAffectedNo fix yet
streams for Apache KafkaAffectedNo fix yet
Migration Toolkit for Runtimes 1 on RHEL 8Fixed RHSA-2024:6656
Red Hat JBoss EAP 7.4 for RHEL 7 ServerFixed RHSA-2024:8075
Red Hat JBoss EAP 7.4 for RHEL 8Fixed RHSA-2024:8076
Red Hat JBoss EAP 7.4 for RHEL 9Fixed RHSA-2024:8077
Red Hat JBoss Enterprise Application Platform Fixed RHSA-2024:8080
Not affected: 13 products
  • Cryostat 3
  • OpenShift Serverless
  • Red Hat AMQ Broker 7
  • Red Hat AMQ Clients
  • Red Hat Build of Keycloak
  • Red Hat Data Grid 8
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat JBoss Web Server 6
  • Red Hat Satellite 6
  • Red Hat build of Apache Camel - HawtIO 4
  • Red Hat build of Quarkus

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-36033
  2. 2026-10-03 Alias added: GHSA-gp7f-rwcx-9369

References

  • TI-2026-52793 jsoup Uncontrolled Resource Consumption in XmlTreeBuilder CVSS 4.0HIGH 8.7
  • TI-2026-50103 jsoup: Cleaner may expose markup with custom raw-text elements CVSS 3.1MEDIUM 4.7

Sources