{"answers":{"affected":"2 open source packages ship an affected version, including org.jsoup:jsoup. It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36033 exists.","fix":"Upgrade org.jsoup:jsoup to 1.15.3 or later.","what":"CVE-2022-36033 is a medium-severity vulnerability in Netapp Oncommand Workflow Automation, published on 29 Aug 2022."},"fix_prompt":"Check this codebase for CVE-2022-36033 and fix it if it is affected.\n\nWhat it is: CVE-2022-36033 is a medium-severity vulnerability in Netapp Oncommand Workflow Automation, published on 29 Aug 2022. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-36033 exists.\n\nAffected packages and fixed versions:\n- org.jsoup:jsoup (Maven): affected all versions; fixed in 1.15.3\n- org.jsoup:jsoup (Maven): affected all versions; fixed in 1.15.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-36033/ (Markdown: https://insights.sbomify.com/CVE-2022-36033/index.md)","id":"CVE-2022-36033","markdown":"https://insights.sbomify.com/CVE-2022-36033/index.md","name":"CVE-2022-36033","record":{"aliases":["AZL-10740","AZL-36946","CLSA-2026-1784880925","CLSA-2026-1786713516","DEBIAN-CVE-2022-36033","GHSA-gp7f-rwcx-9369","OESA-2024-1255","RHLW-2026-cf15e492f63e9e38","SUSE-SU-2022:4011-1","UBUNTU-CVE-2022-36033","openSUSE-SU-2024:12413-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"jsoup","vendor":"jsoup"},{"product":"management_services_for_element_software","vendor":"netapp"},{"product":"management_services_for_netapp_hci","vendor":"netapp"},{"product":"oncommand_workflow_automation","vendor":"netapp"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.)","ecosystems":["Maven","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP4","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"jsoup may not sanitize Cross-Site Scripting (XSS) attempts if SafeList.preserveRelativeLinks is enabled","id":"CVE-2022-36033","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:oncommand_workflow_automation","products":["netapp:oncommand_workflow_automation"],"type":null,"year":"2022"},"n_packages":6,"n_references":4,"next":{"headline":"Possible Regular Expression Denial of Service (ReDoS) used on uncontrolled data in nitrado.js","id":"CVE-2022-36034"},"packages":[{"ecosystem":"Maven","fixed":["1.15.3"],"introduced":["0"],"last_affected":[],"package":"org.jsoup:jsoup","purl":null,"source":"GHSA-gp7f-rwcx-9369"},{"ecosystem":"Maven","fixed":["1.15.3"],"introduced":["0"],"last_affected":[],"package":"org.jsoup:jsoup","purl":"pkg:maven/org.jsoup/jsoup","source":"GHSA-gp7f-rwcx-9369"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["1.15.3-150200.3.6.1"],"introduced":["0"],"last_affected":[],"package":"jsoup","purl":"pkg:rpm/suse/jsoup\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2022:4011-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","fixed":["1.15.3-150200.3.6.1"],"introduced":["0"],"last_affected":[],"package":"jsoup","purl":"pkg:rpm/suse/jsoup\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4","source":"SUSE-SU-2022:4011-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.15.3-150200.3.6.1"],"introduced":["0"],"last_affected":[],"package":"jsoup","purl":"pkg:rpm/opensuse/jsoup\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:4011-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.15.3-150200.3.6.1"],"introduced":["0"],"last_affected":[],"package":"jsoup","purl":"pkg:rpm/opensuse/jsoup\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:4011-1"}],"prev":{"headline":"ReactPHP's HTTP server parses encoded cookie names so malicious `__Host-` and `__Secure-` cookies can be sent","id":"CVE-2022-36032"},"products":["jsoup"],"published":"2022-08-29","related":[{"cvss_score":7.5,"headline":"Crafted input may cause the jsoup HTML and XML parser to get stuck, timeout, or throw unchecked exceptions","id":"CVE-2021-37714","kev_date_added":null,"published":"2021-08-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["jhy"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-36033/"}