Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-36033

published medium CVSS 3.1 · 6.1

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

Published
29 Aug 2022, 00:00:00 UTC
Updated
22 Apr 2025, 17:41:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
jhy — jsoup< 1.15.3 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2024-2466 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-315 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP3 jsoupnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
Amazon Linux AL2 jsoupnoarch Listed in advisory Not stated ALAS2-2024-2466
SUSE / openSUSE SLE-15-SP4 jsoupnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
SUSE / openSUSE openSUSE-Leap-15.3 jsoupnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
SUSE / openSUSE openSUSE-Leap-15.4 jsoupnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed jsoupaarch64 Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoupppc64le Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoups390x Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoupx86_64 Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Leap-15.3 jsoup-javadocnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
SUSE / openSUSE openSUSE-Leap-15.4 jsoup-javadocnoarch Advisory build 1.15.3-150200.3.6.1 SUSE-SU-2022:4011-1
SUSE / openSUSE openSUSE-Tumbleweed jsoup-javadocaarch64 Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoup-javadocppc64le Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoup-javadocs390x Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
SUSE / openSUSE openSUSE-Tumbleweed jsoup-javadocx86_64 Advisory build 1.15.3-1.1 OPENSUSE-SU-2024:12413-1
Amazon Linux AL2 jsoupsrc Listed in advisory Not stated ALAS2-2024-2466
Amazon Linux AL2023 jsoupnoarch Listed in advisory Not stated ALAS2023-2023-315
Amazon Linux AL2023 jsoupsrc Listed in advisory Not stated ALAS2023-2023-315

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

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
jhy jsoup < 1.15.3 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-87 CWE-87: Improper Neutralization of Alternate XSS Syntax (GitHub_M · cna)
  • CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (GitHub_M · cna)

References

4

Provider assertions

3

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
3b59b56da3c3c24355006e4fdcb6704e459d6d62877abab79cb50f6b38077bbe
Ingested
23 Sep 2026, 08:01:20 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected