Vulnerability Details : CVE-2022-36033
Potential exploit
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.)
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-36033
- cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*
- cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-36033
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-36033
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
GitHub, Inc. | |
6.1
|
MEDIUM | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
N/A
|
N/A
|
Oracle:CPUOct2023 |
CWE ids for CVE-2022-36033
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
-
The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-36033
-
https://security.netapp.com/advisory/ntap-20221104-0006/
CVE-2022-36033 jsoup Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://jsoup.org/news/release-1.15.3
jsoup release 1.15.3 (2022-Aug-24)Release Notes;Vendor Advisory
-
https://github.com/jhy/jsoup/releases/tag/jsoup-1.15.3
Release jsoup 1.15.3 · jhy/jsoup · GitHubRelease Notes;Third Party Advisory
-
https://github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369
The jsoup cleaner may incorrectly sanitize crafted XSS attempts if SafeList.preserveRelativeLinks is enabled · Advisory · jhy/jsoup · GitHubExploit;Third Party Advisory
Jump to