Miggo Logo

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

EPSS Score
0.11969%
Published
4/4/2025
Updated
4/4/2025
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.xwiki.contrib.jira:jira-macro-defaultmaven>= 4.2, < 8.5.68.5.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t I* t** JIR* m**ro is inst*ll**, *ny lo**** in XWiki us*r *oul* **it *is/**r us*r pro*il* wiki p*** *n* us* t**t JIR* m**ro, sp**i*yin* * **k* JIR* URL t**t r*turns *n XML sp**i*yin* * *O*TYP* pointin* to * lo**l *il* on t** XWiki s*rv*r *o

Reasoning

T** vuln*r**ility is *n XX* *tt**k in t** JIR* m**ro's XML pro**ssin*. T** k*y vuln*r**l* *un*tion is *r**t*S*X*uil**r() in *TTPJIR***t***r *l*ss, w*i** w*s mo*i*i** in *ot* *ommits to *** XX* prot**tion. T** *irst *ommit (*******) ***** **si* prot**