CVE-2022-36033

Published on: Not Yet Published

Last Modified on: 12/08/2022 03:48:00 AM UTC

CVE-2022-36033 - advisory for GHSA-gp7f-rwcx-9369

Source: Mitre Source: NIST CVE.ORG Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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 URL Logo [email protected] to track the vulnerability - currently rated as MEDIUM severity.
  • Affected Vendor/Software: URL Logo 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
URL Logo MISC jsoup.org/news/release-1.15.3
CVE-2022-36033 jsoup Vulnerability in NetApp Products | NetApp Product Security security.netapp.com
text/html
URL Logo CONFIRM security.netapp.com/advisory/ntap-20221104-0006/
The jsoup cleaner may incorrectly sanitize crafted XSS attempts if SafeList.preserveRelativeLinks is enabled · Advisory · jhy/jsoup · GitHub github.com
text/html
URL Logo CONFIRM github.com/jhy/jsoup/security/advisories/GHSA-gp7f-rwcx-9369
Release jsoup 1.15.3 · jhy/jsoup · GitHub github.com
text/html
URL Logo MISC github.com/jhy/jsoup/releases/tag/jsoup-1.15.3

Related QID Numbers

  • 752907 SUSE Enterprise Linux Security Update for jsoup (SUSE-SU-2022:4011-1)
  • 903808 Common Base Linux Mariner (CBL-Mariner) Security Update for jsoup (10740)

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
ApplicationJsoupJsoupAllAllAllAll
ApplicationNetappManagement Services For Element Software-AllAllAll
ApplicationNetappManagement Services For Netapp Hci-AllAllAll
ApplicationNetappOncommand Workflow Automation-AllAllAll
  • 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)
Twitter Icon @CVEreport 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
Reddit Logo Icon /r/netcve CVE-2022-36033 2022-08-29 17:38:18
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report