{"answers":{"affected":"2 open source packages ship an affected version, including org.jsoup:jsoup.","exploited":"There is no known exploitation of CVE-2026-71497 in the wild and no public exploit code.","fix":"Upgrade org.jsoup:jsoup to 1.23.1 or later.","what":"CVE-2026-71497 is a medium-severity cross-site scripting vulnerability in jhy jsoup, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-71497 and fix it if it is affected.\n\nWhat it is: CVE-2026-71497 is a medium-severity cross-site scripting vulnerability in jhy jsoup, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-71497 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jsoup:jsoup (Maven): affected from 1.14.3; fixed in 1.23.1\n- org.jsoup:jsoup (Maven): affected from 1.14.3; fixed in 1.23.1\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-2026-71497/ (Markdown: https://insights.sbomify.com/CVE-2026-71497/index.md)","id":"CVE-2026-71497","markdown":"https://insights.sbomify.com/CVE-2026-71497/index.md","name":"CVE-2026-71497","record":{"aliases":["AZL-95475","CLEANSTART-2026-BY71102","CLSA-2026-1787667194","DEBIAN-CVE-2026-71497","ECHO-9cfc-4e75-922c","GHSA-pmhh-3w7g-xqp8","MINI-2vr8-r42w-6h99","MINI-3m9c-xf65-23xj","MINI-4967-p8m7-xmp5","MINI-5qp9-phpc-6hxv","MINI-6q93-pw38-x69h","MINI-8q42-q5pc-m4vw","MINI-962w-m596-6gmj","MINI-f9xx-xfw6-w5gh","MINI-fj32-9vfh-58gr","MINI-fqv4-2x43-g5wj","MINI-j7vq-g5c3-rv69","MINI-m332-r3x7-v478","MINI-m82f-fm72-42gh","MINI-mc99-73m9-4f3q","MINI-mr4j-c65p-m9qf","MINI-qjrp-g96w-jjvp","MINI-qm7h-m74j-pf9g","MINI-v8jm-5hp5-6mj4","MINI-vc78-8gj3-8w4r","MINI-vh6c-r78q-jmc2","MINI-xp8f-9qmr-cp85","ROOT-APP-MAVEN-CVE-2026-71497","UBUNTU-CVE-2026-71497"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Java HTML parser","requires_auth":"none","summary":"Attackers can trigger cross-site scripting in jsoup when custom Safelists permit raw-text elements, due to incorrect parsing of malformed tags.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"jsoup is a Java library for working with real-world HTML. From 1.14.3 until 1.23.1, jsoup's HTML parser could incorrectly handle a malformed tag name ending in a control character, causing the tag to acquire the parsing behavior of a different element. When a custom Safelist permits certain raw-text elements, this misparsing can cause content that should remain inert text to be emitted as active markup after serialization, potentially resulting in cross-site scripting. jsoup's built-in Safelists are not affected. This issue is fixed in version 1.23.1.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"jsoup: Cleaner may expose markup with custom raw-text elements","id":"CVE-2026-71497","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"node-re2: Out-of-bounds heap read in `replace`/`split` via a `Buffer` ending in a truncated multi-byte UTF-8 character → adjacent heap memory disclosed to JavaScript","id":"CVE-2026-71498"},"packages":[{"ecosystem":"Maven","fixed":["1.23.1"],"introduced":["1.14.3"],"last_affected":[],"package":"org.jsoup:jsoup","purl":null,"source":"GHSA-pmhh-3w7g-xqp8"},{"ecosystem":"Maven","fixed":["1.23.1"],"introduced":["1.14.3"],"last_affected":[],"package":"org.jsoup:jsoup","purl":"pkg:maven/org.jsoup/jsoup","source":"GHSA-pmhh-3w7g-xqp8"}],"prev":{"headline":"Infracost: Terraform Cloud and registry token disclosure via unvalidated hostname","id":"CVE-2026-71494"},"products":["jsoup"],"published":"2026-08-06","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["jhy"]},"summary":"Attackers can trigger cross-site scripting in jsoup when custom Safelists permit raw-text elements, due to incorrect parsing of malformed tags.","url":"https://insights.sbomify.com/CVE-2026-71497/"}