Skip to content

build(deps): bump jaxen:jaxen from 2.0.3 to 2.0.4#4014

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/jaxen-jaxen-2.0.4
Open

build(deps): bump jaxen:jaxen from 2.0.3 to 2.0.4#4014
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/jaxen-jaxen-2.0.4

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Bumps jaxen:jaxen from 2.0.3 to 2.0.4.

Release notes

Sourced from jaxen:jaxen's releases.

2.0.4

This release fixes one bug in XPath evaluation involving union precedence relative to additive expressions.

It also removes all recursion from XPath expression parsing meaning Jaxen can now parse much more complex and longer XPath expression without stack overflowing. This prevents a whole class of DoS attacks when user-supplied XPath expressions are passed into a program (which you probably shouldn't be doing anyway, but it's a big world and I'm sure someone is making that mistake.)

Neither of these problems was detected by LLMs or security scanners. I continue to get a slow trickle of misguided reports about loading DTDs or URLs, but so far the automated tools are missing the big stuff. (The static security scanners were never very good in the first place.) Recursion is a vastly overused technique in Java. Unlike some other languages, Java doesn't do tail-call optimization so it's really easy to bust the stack in any recursive method. Less importantly recursive programs are almost always slower than the non-recursive equivalents. XOM is very careful to avoid recursion for these reasons. Jaxen, not so much. It still uses recursion when evaluating XPath expressions, and I'm looking at fixing that in upcoming releases.

I've started that in this release by deprecating the simplify method. That method is an internal implementation detail and shouldn't have been public in the first place, but like a lot of Java programs Jaxen uses many more packages than it should. Packages are meant for access control boundaries, not for separating programs into related groups of functionality.

PRs

Full Changelog: jaxen-xpath/jaxen@v2.0.3...v2.0.4

Commits
  • f593b48 Release 2.0.4
  • 522d085 Update index.xml before release (#478)
  • 94bf85f Update version number to 2.0.4 in index.xml (#477)
  • 81589cc Switch release workflow to PR-based handoff for protected master (#476)
  • 6a24e88 Update release notes for version 2.0.4 (#474)
  • 2c71f01 Revise Jaxen 2.0.4 change history details (#472)
  • 5d4a6af Characterization tests for the pattern package (#470)
  • 37f6c3b Bump com.github.siom79.japicmp:japicmp-maven-plugin (#465)
  • 36a8cd0 Bump org.apache.maven.plugins:maven-surefire-report-plugin (#466)
  • c70ca5b Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.5.0 (#469)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jaxen:jaxen](https://github.com/jaxen-xpath/jaxen) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/jaxen-xpath/jaxen/releases)
- [Commits](jaxen-xpath/jaxen@v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: jaxen:jaxen
  dependency-version: 2.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants