Skip to content

fix(deps): bump jsoup to 1.23.2 for CVE-2026-75140 - #490

Merged
Jan-Kazlouski-elastic merged 1 commit into
mainfrom
jan-kazlouski/13638-cve-2026-75140-fix
Aug 28, 2026
Merged

fix(deps): bump jsoup to 1.23.2 for CVE-2026-75140#490
Jan-Kazlouski-elastic merged 1 commit into
mainfrom
jan-kazlouski/13638-cve-2026-75140-fix

Conversation

@Jan-Kazlouski-elastic

Copy link
Copy Markdown
Contributor

Part of https://github.com/elastic/security/issues/13638

Bump org.jsoup:jsoup from 1.23.1 to 1.23.2 to resolve CVE-2026-75140 (uncontrolled resource consumption in XmlTreeBuilder namespace scope tracking via deeply nested XML with uniquely-namespaced elements).

Version choice

  • 1.23.2 (released 2026-08-26) includes the fix via jsoup #2556 / commit 862ba2f — optimizes XML namespace scope tracking.
  • NVD/GHSA text says "through 1.23.2" but that advisory predates the release; Snyk jar A/B below confirms 1.23.2 clears the CVE.

Scanner A/B (CVE-2026-75140)

Baseline: jsoup 1.23.11.23.2 (Maven jar).

Method: Snyk jar scan on jsoup-1.23.1.jar vs jsoup-1.23.2.jar.

CVE Severity Issue Before After
CVE-2026-75140 High #13638 reported (SNYK-JAVA-ORGJSOUP-19233597) clear

1/1 CVE: reported → clear. Container re-publish + snyk container monitor still needed for dashboard refresh.

Checklists

Pre-Review Checklist

  • This PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check crawler.yml.example and elasticsearch.yml.example)
  • This PR has a meaningful title
  • This PR links to all relevant GitHub issues that it fixes or partially addresses
  • this PR has a thorough description
  • Covered the changes with automated tests
  • Tested the changes locally (make install-gems, make install-jars, make lint, make test — 690 examples, 0 failures)
  • Added a label for each target release version (example: v0.1.0)
  • Considered corresponding documentation changes
  • Contributed any configuration settings changes to the configuration reference
  • Ran make notice if any dependencies have been added

Changes Requiring Extra Attention

  • Security-related changes (encryption, TLS, SSRF, etc)

Related Pull Requests

Follows #480 (jsoup 1.23.1 bump for CVE-2026-71497).

Release Note

Bump jsoup to 1.23.2 to fix CVE-2026-75140 (XmlTreeBuilder namespace DoS).

Bump org.jsoup:jsoup from 1.23.1 to 1.23.2 to resolve CVE-2026-75140
(uncontrolled resource consumption in XmlTreeBuilder namespace tracking,
fixed in jsoup #2556 / release 1.23.2).

Part of elastic/security#13638
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic merged commit 0badcb3 into main Aug 28, 2026
6 checks passed
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic deleted the jan-kazlouski/13638-cve-2026-75140-fix branch August 28, 2026 14:02
@github-actions

Copy link
Copy Markdown

💚 Backport PR(s) successfully created

Status Branch Result
1.0 #491

This backport PR will be merged automatically after passing CI.

Jan-Kazlouski-elastic added a commit that referenced this pull request Aug 28, 2026
Backports the following commits to 1.0:
 - fix(deps): bump jsoup to 1.23.2 for CVE-2026-75140 (#490)

Co-authored-by: Jan-Kazlouski-elastic <jan.kazlouski@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants