Update dependency org.jsoup:jsoup to v1.23.1 [SECURITY] #28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/maven-org.jsoup-jsoup-vulnerability"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.22.2→1.23.1jsoup: Cleaner may expose markup with custom raw-text elements
CVE-2026-71497 / GHSA-pmhh-3w7g-xqp8
More information
Details
When a custom
Safelistpermits certain raw-text elements, jsoup may incorrectly sanitize malformed HTML containing a tag name that ends in a control character. The tag may acquire the parsing behavior of a different element, causing content that should remain text to be emitted as active markup after serialization and potentially allowing XSS.jsoup’s built-in Safelists are unaffected.
Patches
Upgrade to jsoup 1.23.1.
Workarounds
Until upgrading, do not permit raw-text elements in custom Safelists used to clean untrusted HTML.
Additional security considerations
This fix addresses malformed tag-name handling only.
Permitting raw-text elements in a custom
Safelistdoes not make their contents inherently safe. For example, applications that permitstylemust apply appropriate CSS safeguards separately, because jsoup does not parse or sanitize CSS.Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.