CVE-2022-36033
Published on: Not Yet Published
Last Modified on: 12/08/2022 03:48:00 AM UTC
Certain versions of Jsoup from Jsoup contain the following vulnerability:
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.)
- CVE-2022-36033 has been assigned by
[email protected] to track the vulnerability - currently rated as MEDIUM severity.
- Affected Vendor/Software:
jhy - jsoup version < 1.15.3
CVSS3 Score: 6.1 - MEDIUM
Attack Vector ⓘ |
Attack Complexity |
Privileges Required |
User Interaction |
---|---|---|---|
NETWORK | LOW | NONE | REQUIRED |
Scope | Confidentiality Impact |
Integrity Impact |
Availability Impact |
CHANGED | LOW | LOW | NONE |
CVE References
Description | Tags ⓘ | Link |
---|---|---|
jsoup release 1.15.3 (2022-Aug-24) | jsoup.org text/html |
![]() |
CVE-2022-36033 jsoup Vulnerability in NetApp Products | NetApp Product Security | security.netapp.com text/html |
![]() |
The jsoup cleaner may incorrectly sanitize crafted XSS attempts if SafeList.preserveRelativeLinks is enabled · Advisory · jhy/jsoup · GitHub | github.com text/html |
![]() |
Release jsoup 1.15.3 · jhy/jsoup · GitHub | github.com text/html |
![]() |
Related QID Numbers
Exploit/POC from Github
This repository contains a collection of data files on known Common Vulnerabilities and Exposures (CVEs). Each file i…
Known Affected Configurations (CPE V2.3)
Type | Vendor | Product | Version | Update | Edition | Language |
---|---|---|---|---|---|---|
Application | Jsoup | Jsoup | All | All | All | All |
Application | Netapp | Management Services For Element Software | - | All | All | All |
Application | Netapp | Management Services For Netapp Hci | - | All | All | All |
Application | Netapp | Oncommand Workflow Automation | - | All | All | All |
- cpe:2.3:a:jsoup:jsoup:*:*:*:*:*:*:*:*:
- 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:-:*:*:*:*:*:*:*:
Social Mentions
Source | Title | Posted (UTC) |
---|---|---|
![]() |
CVE-2022-36033 : jsoup is a Java HTML parser, built for HTML editing, cleaning, scraping, and cross-site scripting… twitter.com/i/web/status/1… | 2022-08-29 16:27:55 |
![]() |
CVE-2022-36033 | 2022-08-29 17:38:18 |