CVE-2025-31487: The XWiki JIRA extension allows data leak through an XXE attack by using a fake JIRA server

Published Apr 3, 2025
·
Updated

Impact If the JIRA macro is installed, any logged in XWiki user could edit his/her user profile wiki page and use that JIRA macro, specifying a fake JIRA URL that returns an XML specifying a DOCTYPE pointing to a local file on the XWiki server host and displaying that file's content in one of the returned JIRA fields (such as the summary or description for example).

For example:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <rss version="0.92"> ... <item> <title>&xxe;</title> <link>https://jira.xwiki.org/browse/XE-307</link> <project id="10222" key="XE">{RETIRED} XWiki Enterprise</project> <description>&xxe;</description> <environment/> ...

Patches The vulnerability has been patched in the JIRA Extension v8.6.5.

Workarounds No easy workaround except to upgrade (which is easy using the XWiki Extension Manager).

References https://github.com/xwiki-contrib/jira/commit/98a74c2a516b42689c73b13ecd94e9c1998fa9cb and https://github.com/xwiki-contrib/jira/commit/5049e352d16f8356734de70daf1202301f170ee6 https://jira.xwiki.org/browse/JIRA-49

For more information If you have any questions or comments about this advisory: Open an issue in Jira XWiki.org Email us at Security Mailing List

Other sources

The XWiki JIRA extension provides various integration points between XWiki and JIRA (macros, UI, CKEditor plugin). If the JIRA macro is installed, any logged in XWiki user could edit his/her user profile wiki page and use that JIRA macro, specifying a fake JIRA URL that returns an XML specifying a DOCTYPE pointing to a local file on the XWiki server host and displaying that file's content in one of the returned JIRA fields (such as the summary or description for example). The vulnerability has been patched in the JIRA Extension v8.6.5.

MITRE

Affected Software

2 affected componentsFixes available
XWiki JIRA Extension<8.6.5
maven/org.xwiki.contrib.jira:jira-macro-default>=4.2<8.5.6
8.5.6

Event History

Apr 3, 2025
CVE Published
via MITRE·06:38 PM
Data Sourced
via MITRE·06:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Apr 4, 2025
Advisory Published
via GitHub·02:20 PM
Oct 29, 57230
Event
via FIRST·03:24 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-31487?

CVE-2025-31487 has been classified as a medium severity vulnerability due to potential unauthorized access to sensitive user data.

2

How do I fix CVE-2025-31487?

To fix CVE-2025-31487, upgrade the XWiki JIRA Extension to version 8.6.6 or later.

3

Who is affected by CVE-2025-31487?

Any XWiki user with the JIRA macro enabled in versions up to but not including 8.6.6 is at risk from CVE-2025-31487.

4

What impact does CVE-2025-31487 have on XWiki users?

CVE-2025-31487 allows attackers to exploit fake JIRA URLs, potentially leading to the disclosure of user profile information.

5

Is there a workaround for CVE-2025-31487?

Disabling the JIRA macro until an upgrade can be performed serves as a temporary workaround for CVE-2025-31487.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203