VYPR
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.

PackageAffected versionsPatched versions
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven
>= 16.7.0, < 16.10.1116.10.11
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven
>= 17.0.0-rc-1, < 17.4.417.4.4
org.xwiki.platform:xwiki-platform-tool-jetty-resourcesMaven
>= 17.5.0, < 17.7.017.7.0

Affected products

1

Patches

2
99a04a0e2143

XWIKI-23438: XJetty allow accessing any application file through URL

https://github.com/xwiki/xwiki-platformThomas MortagneAug 18, 2025via ghsa
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
     
    
42fb063749dd

XWIKI-23438: XJetty allow accessing any application file through URL

https://github.com/xwiki/xwiki-platformThomas MortagneAug 18, 2025via ghsa
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

News mentions

0

No linked articles in our index yet.