CVE-2026-71497
jsoup is a Java library for working with real-world HTML. From …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jhy/jsoup/security/advisories/GHSA-pmhh-3w7g-xqp8
- github.com/jhy/jsoup/issues/2538
- github.com/jhy/jsoup/commit/92f1aca552548b484bc7d4b94c51e48b8e6eca70
- github.com/jhy/jsoup/releases/tag/jsoup-1.23.1
- github.com/advisories/GHSA-pmhh-3w7g-xqp8
- nvd.nist.gov/vuln/detail/CVE-2026-71497
- cve.org/CVERecord?id=CVE-2026-71497
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.