{"id":"CVE-2025-31487","aliases":["GHSA-wc53-4255-gw3f"],"url":"https://o3.security/vulnerability/CVE-2025-31487","summary":"The XWiki JIRA extension allows data leak through an XXE attack by using a fake JIRA server","details":"### Impact\nIf 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).\n\nFor example:\n\n```\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE foo [ <!ENTITY xxe SYSTEM \"file:///etc/passwd\"> ]>\n<rss version=\"0.92\">\n...\n    <item>\n      <title>&xxe;</title>\n      <link>https://jira.xwiki.org/browse/XE-307</link>\n      <project id=\"10222\" key=\"XE\">{RETIRED} XWiki Enterprise</project>\n      <description>&xxe;</description>\n      <environment/>\n...\n```\n\n### Patches\nThe vulnerability has been patched in the JIRA Extension v8.6.5.\n\n### Workarounds\nNo easy workaround except to upgrade (which is easy using the XWiki Extension Manager).\n\n### References\n* https://github.com/xwiki-contrib/jira/commit/98a74c2a516b42689c73b13ecd94e9c1998fa9cb and https://github.com/xwiki-contrib/jira/commit/5049e352d16f8356734de70daf1202301f170ee6\n* https://jira.xwiki.org/browse/JIRA-49\n\n### For more information\nIf you have any questions or comments about this advisory:\n*    Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n*    Email us at [Security Mailing List](mailto:security@xwiki.org)","published":"2025-04-03T18:38:27.067Z","modified":"2026-10-28T10:59:03.773010054Z","cvss":{"score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.xwiki.contrib.jira:jira-macro-default","fixedVersion":"8.5.6"}],"fix":{"url":"https://github.com/xwiki-contrib/jira/commit/5049e352d16f8356734de70daf1202301f170ee6","label":"xwiki-contrib/jira@5049e35"},"references":[{"type":"WEB","url":"https://jira.xwiki.org/browse/JIRA-49"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31487.json"},{"type":"ADVISORY","url":"https://github.com/xwiki-contrib/jira/security/advisories/GHSA-wc53-4255-gw3f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31487"},{"type":"FIX","url":"https://github.com/xwiki-contrib/jira/commit/5049e352d16f8356734de70daf1202301f170ee6"},{"type":"FIX","url":"https://github.com/xwiki-contrib/jira/commit/98a74c2a516b42689c73b13ecd94e9c1998fa9cb"},{"type":"PACKAGE","url":"https://github.com/xwiki-contrib/jira"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T10:59:03.773010054Z"}}