CVE-2025-31487: The XWiki JIRA extension allows data leak through an XXE attack by using a fake JIRA server
7.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.11969%
CWE
Published
4/4/2025
Updated
4/4/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.xwiki.contrib.jira:jira-macro-default | maven | >= 4.2, < 8.5.6 | 8.5.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is an XXE attack in the JIRA macro's XML processing. The key vulnerable function is createSAXBuilder() in HTTPJIRAFetcher class, which was modified in both commits to add XXE protection. The first commit (98a74c2) added basic protection by setting ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_SCHEMA to empty strings, while the second commit (5049e35) implemented stronger protection by completely disabling DTD processing. The function is clearly involved in processing potentially malicious XML input from a fake JIRA server, making it the primary vulnerable function that would appear in a runtime profiler during exploitation.