GHSA-wc53-4255-gw3f

Suggest an improvement
Source
https://github.com/advisories/GHSA-wc53-4255-gw3f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-wc53-4255-gw3f/GHSA-wc53-4255-gw3f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wc53-4255-gw3f
Aliases
Published
2025-04-04T14:20:18Z
Modified
2025-04-04T14:20:18Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
The XWiki JIRA extension allows data leak through an XXE attack by using a fake JIRA server
Details

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

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids": [
        "CWE-611"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-04T14:20:18Z",
    "nvd_published_at": "2025-04-03T19:15:40Z",
    "severity": "HIGH"
}
References

Affected packages

Maven / org.xwiki.contrib.jira:jira-macro-default

Package

Name
org.xwiki.contrib.jira:jira-macro-default
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.contrib.jira/jira-macro-default

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2
Fixed
8.5.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-wc53-4255-gw3f/GHSA-wc53-4255-gw3f.json"