Vulnerabilities in pkg:maven/org.apache.jackrabbit/jackrabbit-spi-commons
PACKAGECVE-2025-53689 is a HIGH (CVSS 8.8) apache jackrabbit vulnerable to blind vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Jackrabbit spi commons libraries in the Maven ecosystem. The issue involves apache jackrabbit vulnerable to blind xxe attack due to insecure document build. Remediation is available by upgrading affected packages to version 2.20.17, 2.22.1, 2.23.2-beta.
pkg:maven/org.apache.jackrabbit/jackrabbit-spi-commons
Vulnerability advisories affecting package pkg:maven/org.apache.jackrabbit/jackrabbit-spi-commons. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-44c3-38h8-9fh9 | CVE-2025-53689 | HIGH | Apache Jackrabbit vulnerable to blind XXE attack due to insecure document build |
CVE-2025-53689 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-53689
To remediate this vulnerability, upgrade all affected Jackrabbit spi commons dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-spi-commons</artifactId>
<version>2.20.17</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-spi-commons</artifactId>
<version>2.22.1</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-spi-commons</artifactId>
<version>2.23.2-beta</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.23.2-beta</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.20.17</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.22.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.jackrabbit
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-53689, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.jackrabbit
Analyze the terminal output to locate any version of Jackrabbit spi commons in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.20.17), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.jackrabbit command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Jackrabbit spi commons, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-53689 Affected Jackrabbit spi commons Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.jackrabbit:jackrabbit-spi-commons
|
Maven |
≥ 2.20.0
< 2.20.17
|
2.20.17
|
|
org.apache.jackrabbit:jackrabbit-spi-commons
|
Maven |
≥ 2.22.0
< 2.22.1
|
2.22.1
|
|
org.apache.jackrabbit:jackrabbit-spi-commons
|
Maven |
≥ 2.23.0-beta
< 2.23.2-beta
|
2.23.2-beta
|
|
org.apache.jackrabbit:jackrabbit-core
|
Maven |
≥ 2.23.0-beta
< 2.23.2-beta
|
2.23.2-beta
|
|
org.apache.jackrabbit:jackrabbit-core
|
Maven |
≥ 2.20.0
< 2.20.17
|
2.20.17
|
|
org.apache.jackrabbit:jackrabbit-core
|
Maven |
≥ 2.22.0
< 2.22.1
|
2.22.1
|
References
Frequently Asked Questions
What is CVE-2025-53689?
Which Jackrabbit spi commons versions are affected?
What version fixes CVE-2025-53689?
Is jackrabbit-spi-commons affected?
Is jackrabbit-core affected?
What is the CVSS score of CVE-2025-53689?
What CWE is associated with CVE-2025-53689?
How can I check Maven dependencies for CVE-2025-53689?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-44c3-38h8-9fh9",
"modified" : "2025-11-05T20:30:55Z",
"published" : "2025-07-14T12:30:27Z",
"aliases" : [ "CVE-2025-53689" ],
"summary" : "Apache Jackrabbit vulnerable to blind XXE attack due to insecure document build",
"details" : "Blind XXE vulnerabilities in jackrabbit-spi-commons and jackrabbit-core in Apache Jackrabbit < 2.23.2 due to usage of an unsecured document build to load privileges.\n\nUsers are recommended to upgrade to versions 2.20.17 (Java 8), 2.22.1 (Java 11) or 2.23.2 (Java 11, beta versions), which fix this issue. Earlier versions (up to 2.20.16) are not supported anymore, thus users should update to the respective supported version.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-spi-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.20.0"
}, {
"fixed" : "2.20.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-spi-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.22.0"
}, {
"fixed" : "2.22.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-spi-commons"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.23.0-beta"
}, {
"fixed" : "2.23.2-beta"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.23.0-beta"
}, {
"fixed" : "2.23.2-beta"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.20.0"
}, {
"fixed" : "2.20.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.jackrabbit:jackrabbit-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.22.0"
}, {
"fixed" : "2.22.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-53689"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/jackrabbit/pull/263/commits/02786c0a01838580252bdab79bfa54026c30294e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/jackrabbit"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/5pf9n76ny13pzzk765og2h3gxdxw7p24"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/07/14/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-14T21:18:10Z",
"nvd_published_at" : "2025-07-14T10:15:28Z"
}
}