{"id":"CVE-2026-71497","state":"PUBLISHED","title":"jsoup: Cleaner may expose markup with custom raw-text elements","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.","publishedAt":"2026-08-06T21:09:31.489Z","updatedAt":"2026-08-07T14:37:56.848Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["jhy jsoup"],"affected":[{"vendor":"jhy","product":"jsoup","versions":[{"version":">= 1.14.3, < 1.23.1","status":"affected"}]}],"references":["https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8","https://github.com/jhy/jsoup/issues/2538","https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70","https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/71xxx/CVE-2026-71497.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-71497","state":"PUBLISHED","datePublished":"2026-08-06T21:09:31.489Z","dateUpdated":"2026-08-07T14:37:56.848Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-06T19:56:23.726Z"},"containers":{"cna":{"title":"jsoup: Cleaner may expose markup with custom raw-text elements","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"jhy","product":"jsoup","versions":[{"version":">= 1.14.3, < 1.23.1","status":"affected"}]}],"references":[{"url":"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8","name":"https://github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jhy/jsoup/issues/2538","name":"https://github.com/jhy/jsoup/issues/2538","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70","name":"https://github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70","tags":["x_refsource_MISC"]},{"url":"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1","name":"https://github.com/jhy/jsoup/releases/tag/jsoup-1.23.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-06T21:09:31.489Z"},"source":{"advisory":"GHSA-pmhh-3w7g-xqp8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-07T14:37:48.066416Z","id":"CVE-2026-71497","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-07T14:37:56.848Z"}}]}}}