Skip to content
Admidio Documents module path traversal enables stored XSS via file rename

Admidio Documents module path traversal enables stored XSS via file rename

First seen 22 Nov 2026, 12:13 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 22, 2026 at 12:14 UTC
  • •Admidio's renameFile() does not validate the new file name, allowing ../ path traversal in the Documents & Files module.
  • •Per the first advisory, a user with upload rights in one folder can move an SVG to the web root, enabling stored XSS on the Admidio origin.
  • •The second advisory describes arbitrary file relocation on the server, since no allowed-directories containment is configured.
  • •Neither advisory in the material gives a CVE, CVSS score, or patched version.
  • •Reproduction was reported only in an isolated local Docker environment; no in-the-wild exploitation is reported.

Two GitHub security advisories published 2026-11-22 describe flaws in the Documents & Files module of Admidio. The renameFile() handler in DocumentsService.php does not validate the user-supplied new file name, so ../ sequences survive and files can be moved outside the protected adm_my_files/ directory. Per the first advisory, an authenticated user with upload rights in any one documents folder (not a full administrator) can move an uploaded SVG to the web root, where Apache serves it as image/svg+xml without attachment disposition, producing stored XSS reachable by unauthenticated visitors and usable against a logged-in administrator. The second advisory states the same missing validation lets files be moved to arbitrary writable locations, with missing intermediate directories created automatically, because no allowed-directories containment is configured. The second advisory notes the sibling renameFolder() method validates the same field with StringUtils::strIsValidFolderName(), while renameFile() does not. The first advisory states the issue was confirmed dynamically in an isolated local Docker environment only. Neither article provides a CVE identifier, CVSS score, patched version, or exploitation reports in the material given.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-22
GHSA-gp7m-9622-gcw9 advisory published
Advisory describes path traversal leading to stored XSS via renaming files into the web root; confirmed in an isolated local Docker environment.
github.com
2026-11-22
GHSA-4fqv-v627-2ggm advisory published
Advisory describes missing validation of adm_new_name in renameFile(), allowing files to be moved to arbitrary writable locations.
github.com

More articles in this cluster (2)

Common questions

Am I affected?
The advisories concern Admidio's Documents & Files module, specifically the renameFile() handler; the articles do not list affected version numbers.
How urgent is this?
The first advisory rates severity as Medium–High and reports only local Docker reproduction, with no in-the-wild exploitation mentioned.
What should we do first?
Restrict upload and rename rights in the Documents & Files module and watch for an Admidio fix; the articles do not name a patched release.