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

Wed, 16 Oct 2024 02:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat jboss Enterprise Application Platform
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:7.4
cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el7
cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el8
cpe:/a:redhat:jboss_enterprise_application_platform:7.4::el9
Vendors & Products Redhat jboss Enterprise Application Platform

Sat, 14 Sep 2024 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat migration Toolkit Runtimes
CPEs cpe:/a:redhat:migration_toolkit_runtimes:1.0::el8
Vendors & Products Redhat
Redhat migration Toolkit Runtimes

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-08-29T00:00:00

Updated: 2024-08-03T09:51:59.964Z

Reserved: 2022-07-15T00:00:00

Link: CVE-2022-36033

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-08-29T17:15:08.523

Modified: 2024-11-21T07:12:13.753

Link: CVE-2022-36033

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-08-29T00:00:00Z

Links: CVE-2022-36033 - Bugzilla