{"id":"CVE-2025-31487","aliases":["CVE-2025-31487","GHSA-wc53-4255-gw3f"],"related":[],"kind":"vulnerability","state":"published","title":"The XWiki JIRA extension allows data leak through an XXE attack by using a fake JIRA server","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"La extensión JIRA de XWiki proporciona varios puntos de integración entre XWiki y JIRA (macros, interfaz de usuario, complemento CKEditor). Si la macro de JIRA está instalada, cualquier usuario de XWiki que haya iniciado sesión podría editar la página wiki de su perfil y usarla, especificando una URL falsa de JIRA que devuelve un XML con un DOCTYPE que apunta a un archivo local en el servidor de XWiki y muestra el contenido de dicho archivo en uno de los campos de JIRA devueltos (como el resumen o la descripción, por ejemplo). Esta vulnerabilidad se ha corregido en la extensión JIRA v8.6.5.","source":"nvd"}],"published":"2025-04-03T18:38:27.067Z","modified":"2026-06-17T09:10:29.270Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":">= 4.2, < 8.5.6","status":"affected"}],"vendor":"xwiki-contrib","product":"jira","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2","status":"affected","fixed":"8.5.6"}],"ecosystem":"Maven","package":"org.xwiki.contrib.jira:jira-macro-default","purl":"pkg:maven/org.xwiki.contrib.jira/jira-macro-default","source":"ghsa"}],"references":[{"url":"https://github.com/xwiki-contrib/jira/security/advisories/GHSA-wc53-4255-gw3f","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki-contrib/jira/commit/5049e352d16f8356734de70daf1202301f170ee6","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki-contrib/jira/commit/98a74c2a516b42689c73b13ecd94e9c1998fa9cb","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/JIRA-49","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31487","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki-contrib/jira","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-03T20:37:49.552Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31487","url":"https://www.cve.org/CVERecord?id=CVE-2025-31487","licence":"CVE Terms of Use","modified":"2025-04-03T20:37:56.519Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wc53-4255-gw3f","url":"https://github.com/advisories/GHSA-wc53-4255-gw3f","licence":"CC-BY-4.0","modified":"2025-04-04T14:20:18.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31487","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31487","licence":"Public domain","modified":"2026-06-17T09:10:29.270Z"}],"updatedAt":"2026-11-25T22:58:56.017Z","epss":{"score":0.00399,"percentile":0.36279,"date":"2026-12-01T12:00:22.000Z"}}