Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
jhy jsoup
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Github jsoup是一个用于处理真实世界 HTML 的 Java 库。 jsoup 1.15.3之前版本存在安全漏洞,该漏洞源于未清理的输入可能被保留。

CVSS 6.1 · Medium EPSS 1.23% · P67
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-36033

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jsoup may not sanitize Cross-Site Scripting (XSS) attempts if SafeList.preserveRelativeLinks is enabled
Source: CVE Program / CVE List V5
Vulnerability 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.)
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
替代XSS语法转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
jsoup 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Github jsoup是一个用于处理真实世界 HTML 的 Java 库。 jsoup 1.15.3之前版本存在安全漏洞,该漏洞源于未清理的输入可能被保留。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jhy jsoup < 1.15.3 -

II. Public POCs for CVE-2022-36033

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-36033

登录查看更多情报信息。

Vendor Advisories for CVE-2022-36033 (2)

Other References for CVE-2022-36033 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-36033

No comments yet


Leave a comment