cve.bz

CVE-2022-36033 Cross-site Scripting

6.1 mediumExploit referenceEPSS 1.7%Fix available

Medium (6.1). EPSS 1.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.jsoup:jsoup 1.15.3.

On this page
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.)

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
1.7% (unchanged from 1.7% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 78th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-87 Improper Neutralization of Alternate XSS Syntax
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-36033 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36033?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36033?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-36033 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
jsoup:jsoupbefore 1.15.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gp7f-rwcx-9369Mavenorg.jsoup:jsoup<1.15.31.15.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jsoup1.15.3-1DEBIAN-CVE-2022-36033
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 6 morejsoupno fix listedUBUNTU-CVE-2022-36033
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hal-console0:3.3.24-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-hibernate-validator, eap7-hibernate-validator-cdi0:6.0.23-2.SP1_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-ironjacamar, eap7-ironjacamar-jdbc, eap7-ironjacamar-core-api and 6 more0:1.5.18-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-cert-helper, eap7-insights-java-client, eap7-jboss-cert-helper-debuginfo0:1.1.3-1.redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-ejb-client0:4.0.55-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jboss-server-migration, eap7-jboss-server-migration-cli, eap7-jboss-server-migration-core0:1.10.0-39.Final_redhat_00039.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jbossws-cxf0:5.4.12-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-jsoup0:1.15.4-1.redhat_00003.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-undertow-jastow0:2.0.15-1.Final_redhat_00001.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more0:7.4.19-1.GA_redhat_00002.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el7eap7-xalan-j20:2.7.1-37.redhat_00015.1.el7eapRHSA-2024:8075
Red Hatjboss_enterprise_application_platform:7.4::el8eap7-hal-console0:3.3.24-1.Final_redhat_00001.1.el8eapRHSA-2024:8076
21 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4jsoup1.15.3-150200.3.6.1SUSE-SU-2022:4011-1
openSUSELeap 15.3, Leap 15.4jsoup1.15.3-150200.3.6.1SUSE-SU-2022:4011-1
Azure Linux2jsoupno fix listedAZL-10740
Azure Linux3jsoupno fix listedAZL-36946

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-operator-bundle:1.2-27Fixed 2024-09-12RHSA-2024:6656
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-rhel8-operator:1.2-17Fixed 2024-09-12RHSA-2024:6656
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-container-rhel8:1.2-19Fixed 2024-09-12RHSA-2024:6656
Migration Toolkit for Runtimes 1 on RHEL 8mtr/mtr-web-executor-container-rhel8:1.2-17Fixed 2024-09-12RHSA-2024:6656
Red Hat JBoss Enterprise Application Platformorg.jsoup/jsoup:1.15.4.redhat-00003Fixed 2024-10-14RHSA-2024:8080
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-hal-console-0:3.3.24-1.Final_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-hibernate-validator-0:6.0.23-2.SP1_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-insights-java-client-0:1.1.3-1.redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-ironjacamar-0:1.5.18-1.Final_redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8eap7-jboss-cert-helper-0:1.1.3-1.redhat_00001.1.el8eapFixed 2024-10-14RHSA-2024:8076
A-MQ Clients 2jsoupWill not fix
Cryostat 3jsoupNot affected
Logging Subsystem for Red Hat OpenShiftorg.jsoup/jsoupAffected
Migration Toolkit for Applications 6org.jsoup/jsoupWill not fix
OpenShift ServerlessjsoupNot affected
Red Hat AMQ Broker 7jsoupNot affected
Red Hat AMQ ClientsjsoupNot affected
Red Hat build of Apache Camel 4 for Quarkus 3jsoupWill not fix
Red Hat build of Apache Camel for Spring Boot 3jsoupAffected
Red Hat build of Apache Camel for Spring Boot 4jsoupWill not fix
54 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-36033.

Attack patterns (CAPEC)

  • CAPEC-199 XSS Using Alternate Syntax Likelihood: High · Severity: High
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON