CVE-2022-36033
Jsoup JavaScript URL Preservation Cross-Site Scripting 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.)
INFO
Published Date :
Aug. 29, 2022, 5:15 p.m.
Last Modified :
Dec. 8, 2022, 3:48 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.8
Affected Products
The following products are affected by CVE-2022-36033
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-36033
.
URL | Resource |
---|---|
https://github.com/jhy/jsoup/releases/tag/jsoup-1.15.3 | Release Notes Third Party Advisory |
https://github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369 | Exploit Third Party Advisory |
https://jsoup.org/news/release-1.15.3 | Release Notes Vendor Advisory |
https://security.netapp.com/advisory/ntap-20221104-0006/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-36033
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-36033
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Dec. 08, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20221104-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20221104-0006/ Third Party Advisory Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 04, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20221104-0006/ [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 01, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Changed Reference Type https://github.com/jhy/jsoup/releases/tag/jsoup-1.15.3 No Types Assigned https://github.com/jhy/jsoup/releases/tag/jsoup-1.15.3 Release Notes, Third Party Advisory Changed Reference Type https://github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369 No Types Assigned https://github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369 Exploit, Third Party Advisory Changed Reference Type https://jsoup.org/news/release-1.15.3 No Types Assigned https://jsoup.org/news/release-1.15.3 Release Notes, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:* versions up to (excluding) 1.15.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-36033
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-36033
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} 0.01%
score
0.43328
percentile