Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain folder upload rights on a folder
-
DeliveryUpload script-bearing .svg via file_upload.php
-
ExploitVictim opens view link (view=1)
-
ExecutionSVG served inline as image/svg+xml, no nosniff/CSP
-
ImpactScript executes on Admidio origin as viewer
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account with the per-folder, per-role 'folder upload' right on a Documents & Files folder (demonstrated with the non-administrator demo role, not an admin) in Admidio 5.0.16 or 5.0.17 - the SVG extension was only added to the upload allow-list in 5.0.16 (v5.0.15 and earlier reject it with SYS_FILE_EXTENSION_INVALID). Triggering also requires a victim to open the file's view link (URL parameter view=1), which Admidio emits for every file; execution occurs because downloadFile() serves the SVG as image/svg+xml with Content-Disposition: inline, never consulting isViewableInBrowser() and sending neither X-Content-Type-Options: nosniff nor a CSP. The main limiting factors are the upload-rights prerequisite and the required viewer interaction; the main amplifier is a public folder, where the inline SVG runs HTTP 200 for unauthenticated visitors with no session. The only complete fix stated by the vendor is upgrading to 5.0.18 (the advisory's code remediation forces attachment for non-viewable types and adds nosniff; a restrictive CSP on downloads is noted as optional). |
| Impact | This is a stored XSS (CWE-79/CWE-434) in Admidio's Documents & Files module, provided with a CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P, score 5.1) and no CVSS 3.1 vector. The signals point to a moderate, conditional risk rather than a drop-everything emergency. PR:L confirms the attacker must already hold a privilege - specifically per-folder, per-role upload rights - so the store step is authenticated; UI:P confirms a victim must open the file's view link for the payload to fire. The GHSA advisory supplies a detailed, reporter-confirmed PoC (SVG payload reproduced in headless Chrome on v5.0.16 and master), which raises practical risk above a theoretical finding, but this is PoC availability, not active exploitation. There is no CISA KEV listing and no EPSS score in the input, so widespread automated exploitation cannot be asserted; absence of EPSS is a genuine data gap, not evidence of low risk. The vuln.today decision label is 'this_month' (prioritize, not emergency). The sharpest risk amplifier is in the description, not the raw score: when the target folder is public, the inline SVG executes for unauthenticated visitors, and because script runs on the Admidio origin, a logged-in administrator who opens the link can have requests made as them - a realistic path to account/session compromise. Net: a real, prioritizable issue bounded by the upload-rights prerequisite and the need for a viewer to open the file, consistent with the medium CVSS and the 'this_month' label. |
| Exploit ScenarioDerived | An attacker holding upload rights on a Documents & Files folder (a non-administrator role suffices) uploads a crafted .svg containing a <script> element. Because downloadFile() serves it with Content-Type: image/svg+xml and Content-Disposition: inline - ignoring the 'viewable=false' flag and sending no X-Content-Type-Options/CSP - the script runs on the Admidio origin whenever someone opens the file's view link; in a public folder this includes unauthenticated visitors, and a viewing administrator can have same-origin requests made as them. A reporter-confirmed PoC with the exact SVG payload and reproduction steps is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Stored cross-site scripting in Admidio 5.0.16 and 5.0.17 allows an account holding the per-folder, per-role 'folder upload' right on a Documents & Files folder to upload an SVG containing JavaScript and have it served back as image/svg+xml with Content-Disposition: inline, so the script executes on the Admidio origin for anyone who opens the file's view link - including unauthenticated visitors when the folder is public. The uploader needs only an authenticated account with that folder right (demonstrated with a non-administrator role), but a victim must open the emitted view=1 link, which is why the assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N and the published CVSS 4.0 score is 5.1. There is no CISA KEV listing; the upstream advisory documents a detailed proof of concept (script execution confirmed in headless Chrome on the official v5.0.16 image and on master), and Admidio 5.0.18 is the vendor-stated complete fix.
RemediationAI
Upgrade to Admidio 5.0.18, which the vendor describes as the complete fix. Where upgrading is not immediately possible, the advisory supplies a code patch for DocumentsService.php (against master 7a3e6bf, applying with offset +11 to v5.0.16) that changes the inline branch to 'if ($inline && $file->isViewableInBrowser())', forcing attachment for types marked not viewable such as SVG, and adds 'X-Content-Type-Options: nosniff' to the download headers; a restrictive Content-Security-Policy on file downloads is noted as an optional additional header. Verified behaviour with the patch applied: the same SVG is returned as Content-Disposition: attachment with nosniff and headless Chrome does not execute the script, while PNG documents are still served inline as image/png - the trade-off being that SVG documents in Documents & Files lose in-browser preview and download instead. The upstream guidance emphasises that honouring the viewable flag and sending nosniff are the corrective measures; the advisory does not propose disabling folder upload rights as a fix, though withholding upload rights on untrusted or public folders limits who can plant a file until the upgrade is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79 (with CWE-434 on the upload side) arising from a mismatch between an upload allow-list and the download handler. Admidio 5.0.16 added 'svg' to the document upload extension allow-list (FileSystemUtils::allowedFileExtension(), built from the keys of $iconFileExtension in src/Infrastructure/Utils/FileSystemUtils.php), apparently with a 'viewable' => false flag intended to force download and block inline script execution. That flag is never consulted: DocumentsService::downloadFile() decides between inline and attachment solely from the 'view' request parameter, never calls File::isViewableInBrowser(), and emits neither X-Content-Type-Options: nosniff nor a Content-Security-Policy. Because DocumentsPresenter links every file with view=1, the natural click path yields Content-Type: image/svg+xml with Content-Disposition: inline, and SVG is an active content format whose embedded <script> runs in the Admidio origin. The project had previously refused SVG uploads for exactly this reason (issue #1106, 2021), so the behaviour is unintended; 5.0.15 and earlier reject .svg with SYS_FILE_EXTENSION_INVALID. This is distinct from prior Admidio advisories: CVE-2026-32756 / GHSA-95cq-p4w2-32w5 is a CSRF-error path that skipped the extension check to write .php files (RCE), while CVE-2026-47230, CVE-2026-47231, CVE-2026-47226 and GHSA-m9h6-8pqm-xrhf concern access control and path handling on rename/move/delete/add; here an allow-listed type is served inline.
Know when Admidio gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-delivered stored XSS needing only upload rights (PR:L) and a victim opening the view link (UI:R); script runs in the viewer's browser context, a scope change (S:C), with limited C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Admidio from 5.0.16 before 5.0.18 contains a stored cross-site scripting vulnerability that allows users with folder upload rights to store JavaScript by uploading SVG files served inline. Attackers can upload a script-bearing SVG that downloadFile() serves as image/svg+xml inline without nosniff or CSP, executing on the Admidio origin for viewers including unauthenticated visitors.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Admidio is a free, open source user management system for websites of organizations and groups. Rated high severity (CVS
Admidio is a free, open source user management system for websites of organizations and groups. Rated high severity (CVS
Admidio is a free, open source user management system for websites of organizations and groups. Rated high severity (CVS
Improper Neutralization of Formula Elements in a CSV File in GitHub repository admidio/admidio prior to 4.2.9. Rated hig
SQL Injection was discovered in adm_program/modules/dates/dates_function.php in Admidio 3.2.5. Rated high severity (CVSS
Authenticated SQL injection in Admidio through 4.3.16 allows users with role-assignment privileges to execute arbitrary
Unrestricted Upload of File with Dangerous Type in GitHub repository admidio/admidio prior to 4.2.10. Rated high severit
Insufficient Session Expiration in GitHub repository admidio/admidio prior to 4.1.9. Rated high severity (CVSS 7.1), thi
Admidio 3.3.5 contains a cross-site request forgery vulnerability that allows low-privilege users to increase their perm
Insufficient Session Expiration in GitHub repository admidio/admidio prior to 4.2.11. Rated medium severity (CVSS 6.5),
Admidio v4.2.12 and below is vulnerable to Cross Site Scripting (XSS). Rated medium severity (CVSS 6.1), this vulnerabil
Admidio is a free open source user management system for websites of organizations and groups. Rated medium severity (CV
EUVD-2026-132206
GHSA-g89q-m52h-x43x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB