Admidio Documents module path traversal enables stored XSS via file rename
Article Content
- •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.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (2)
Common questions
Am I affected?
How urgent is this?
What should we do first?
Continue Reading
Path Traversal Vulnerability in Seafile SeaDoc Converter Seafile SeaDoc converter versions 2.0.4 to 2.0.10 and 3.0.0 to 3.0.7 are affected by CVE-2026-129167, an absolute path traversal vulnerability. This flaw allows unauthenticated attackers with a public token to execute arbitrary code by supplying an absolute filename to a specific API endpoint. Successful exploitation…
Vulnerability in OpenEMR Enables Remote Code Execution A vulnerability (CVE-2026-124450) has been identified in OpenEMR versions prior to 8.3.0, specifically within the fax/sms module. The flaw involves broken access control and path traversal through an unvalidated file_path parameter. This allows authenticated low-privilege users to read sensitive files, such as…