GHSA-53gx-j3p6-2rw9

Suggest an improvement
Source
https://github.com/advisories/GHSA-53gx-j3p6-2rw9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-53gx-j3p6-2rw9/GHSA-53gx-j3p6-2rw9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-53gx-j3p6-2rw9
Aliases
Published
2025-12-01T18:59:29Z
Modified
2025-12-02T01:58:55.762341Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
XWiki Jetty Package (XJetty) allows accessing any application file through URL
Details

Impact

In an instance which is using the XWiki Jetty package (XJetty), a context is exposed to statically access any file located in the webapp/ folder.

It allows accessing files which might contains credentials, like http://myhots/webapps/xwiki/WEB-INF/xwiki.cfg, http://myhots/webapps/xwiki/WEB-INF/xwiki.properties or http://myhots/webapps/xwiki/WEB-INF/hibernate.cfg.xml.

Patches

This has been patched in 16.10.11, 17.4.4, 17.7.0.

Workarounds

The workaround is to modify the start_xwiki.sh script following https://github.com/xwiki/xwiki-platform/compare/8b68d8a70b43f25391b3ee48477d7eb71b95cf4b...99a04a0e2143583f5154a43e02174155da7e8e10.

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

Attribution

Vulnerability reported by Joseph Huber.

Database specific
{
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-284"
    ],
    "nvd_published_at": "2025-12-01T21:15:51Z",
    "github_reviewed_at": "2025-12-01T18:59:29Z"
}
References

Affected packages

Maven

org.xwiki.platform:xwiki-platform-tool-jetty-resources

Package

Name
org.xwiki.platform:xwiki-platform-tool-jetty-resources
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-tool-jetty-resources

Affected ranges

Type
ECOSYSTEM
Events
Introduced
16.7.0
Fixed
16.10.11

org.xwiki.platform:xwiki-platform-tool-jetty-resources

Package

Name
org.xwiki.platform:xwiki-platform-tool-jetty-resources
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-tool-jetty-resources

Affected ranges

Type
ECOSYSTEM
Events
Introduced
17.0.0-rc-1
Fixed
17.4.4

org.xwiki.platform:xwiki-platform-tool-jetty-resources

Package

Name
org.xwiki.platform:xwiki-platform-tool-jetty-resources
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-tool-jetty-resources

Affected ranges

Type
ECOSYSTEM
Events
Introduced
17.5.0
Fixed
17.7.0