Skip to content

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

Merged
Jan-Kazlouski-elastic merged 1 commit into
1.0from
backport/1.0/pr-490
Aug 28, 2026
Merged

[1.0] fix(deps): bump jsoup to 1.23.2 for CVE-2026-75140 (#490)#491
Jan-Kazlouski-elastic merged 1 commit into
1.0from
backport/1.0/pr-490

Conversation

@github-actions

Copy link
Copy Markdown

Backports the following commits to 1.0:

Part of elastic/security#13638

Bump `org.jsoup:jsoup` from **1.23.1** to **1.23.2** to resolve
[CVE-2026-75140](https://nvd.nist.gov/vuln/detail/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](jhy/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.1** → **1.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](elastic/security#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
- [x] 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`)
- [x] This PR has a meaningful title
- [x] This PR links to all relevant GitHub issues that it fixes or
partially addresses
- [x] this PR has a thorough description
- [ ] Covered the changes with automated tests
- [x] Tested the changes locally (`make install-gems`, `make
install-jars`, `make lint`, `make test` — 690 examples, 0 failures)
- [x] 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

- [x] 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).
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic merged commit 23ea40c into 1.0 Aug 28, 2026
2 checks passed
@Jan-Kazlouski-elastic
Jan-Kazlouski-elastic deleted the backport/1.0/pr-490 branch August 28, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant