CVE-2025-31487
Java vulnerability analysis and mitigation

Overview

CVE-2025-31487 affects the XWiki JIRA extension, which provides integration points between XWiki and JIRA (macros, UI, CKEditor plugin). The vulnerability was discovered and disclosed on April 3, 2025. The issue affects versions prior to 8.6.5 of the JIRA extension. This vulnerability allows any authenticated XWiki user to perform XML External Entity (XXE) attacks through the JIRA macro functionality (NVD, GitHub Advisory).

Technical details

The vulnerability is classified as an Improper Restriction of XML External Entity Reference (CWE-611) with a CVSS v3.1 base score of 7.7 (High). The attack vector is network-based, with low attack complexity and requiring low privileges. The vulnerability occurs when processing XML data from JIRA URLs, where the SAXBuilder instance used to retrieve JIRA issue data does not properly restrict XML external entity references (GitHub Advisory).

Impact

An authenticated attacker can exploit this vulnerability by editing their user profile wiki page and using the JIRA macro with a specially crafted fake JIRA URL. This URL can return XML containing a DOCTYPE that points to local files on the XWiki server host, allowing the attacker to read and display the contents of these files through JIRA fields such as summary or description (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in JIRA Extension version 8.6.5. The fix involves disabling DTD processing completely in the XML parser since JIRA returns XML content that doesn't use a DTD. There are no easy workarounds except upgrading to the patched version using the XWiki Extension Manager (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management