rzo1 opened a new pull request, #470: URL: https://github.com/apache/opennlp-sandbox/pull/470
## Summary - Bumps `org.jdom:jdom:2.0.2` to `org.jdom:jdom2:2.0.6.1` in `mallet-addon` (CVE-2021-33813, XXE) - Drops legacy `commons-lang` 2.6 from root `dependencyManagement` and migrates `opennlp-similarity` sources to `commons-lang3` (CVE-2025-48924) - Replaces removed `StringEscapeUtils.unescapeHtml` with `commons-text` `StringEscapeUtils.unescapeHtml4` (single call site in `Utils.java`) - Adds `commons-text` 1.14.0 to `dependencyManagement`; wires `commons-lang3` + `commons-text` as direct deps in `opennlp-similarity` The `jdom` artifact has no Java imports in this repo (runtime-only dep of mallet), so the artifactId change is safe. All `StringUtils` / `ArrayUtils` method usages are API-compatible between commons-lang 2.x and lang3. ## Test plan - [x] `mvn clean compile -pl opennlp-similarity,mallet-addon -am -DskipTests` passes - [ ] Full `mvn clean install` on CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
