High severityNVD Advisory· Published Dec 1, 2025· Updated Dec 1, 2025
The XWiki Jetty package (XJetty) allows accessing any application file through URL
CVE-2025-55749
Description
XWiki is an open-source wiki software platform. From 16.7.0 to 16.10.11, 17.4.4, or 17.7.0, 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. Fixed in 16.10.11, 17.4.4, and 17.7.0.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven | >= 16.7.0, < 16.10.11 | 16.10.11 |
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven | >= 17.0.0-rc-1, < 17.4.4 | 17.4.4 |
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven | >= 17.5.0, < 17.7.0 | 17.7.0 |
Affected products
1- Range: >= 16.7.0, < 16.10.11
Patches
299a04a0e2143XWIKI-23438: XJetty allow accessing any application file through URL
1 file changed · +2 −2
xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh+2 −2 modified@@ -194,8 +194,8 @@ mkdir -p $XWIKI_DATA_DIR 2>/dev/null mkdir -p $XWIKI_DATA_DIR/logs 2>/dev/null # Set up the Jetty Base directory (used for custom Jetty configuration) to be the current directory where this file is. -# Jetty does not work well with a relative directory, so we resolve the absolute one -JETTY_BASE=`pwd` +# Jetty does not work well with a relative directory, so we use the absolute one +JETTY_BASE=$PRGDIR # Also make sure the log directory exists since Jetty won't create it. mkdir -p $JETTY_BASE/logs 2>/dev/null
42fb063749ddXWIKI-23438: XJetty allow accessing any application file through URL
1 file changed · +4 −3
xwiki-platform-tools/xwiki-platform-tool-jetty/xwiki-platform-tool-jetty-resources/src/main/resources/start_xwiki.sh+4 −3 modified@@ -194,12 +194,13 @@ mkdir -p $XWIKI_DATA_DIR 2>/dev/null mkdir -p $XWIKI_DATA_DIR/logs 2>/dev/null # Set up the Jetty Base directory (used for custom Jetty configuration) to be the current directory where this file is. +# Jetty does not work well with a relative directory, so we resolve the absolute one +JETTY_BASE=`pwd` # Also make sure the log directory exists since Jetty won't create it. -JETTY_BASE=. mkdir -p $JETTY_BASE/logs 2>/dev/null -# Specify Jetty's home directory to be the directory named jetty inside the jetty base directory. -JETTY_HOME=jetty +# Specify Jetty's home directory to be the directory named "jetty" inside the Jetty base directory. +JETTY_HOME="$JETTY_BASE/jetty" XWIKI_OPTS="$XWIKI_OPTS -Djetty.home=$JETTY_HOME -Djetty.base=$JETTY_BASE" # Specify the encoding to use
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
7- github.com/advisories/GHSA-53gx-j3p6-2rw9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-55749ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/42fb063749dd88cc78196f72d7318b7179285ebdghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/commit/99a04a0e2143583f5154a43e02174155da7e8e10ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/compare/8b68d8a70b43f25391b3ee48477d7eb71b95cf4b...99a04a0e2143583f5154a43e02174155da7e8e10ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-53gx-j3p6-2rw9ghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-23438ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.