Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious URL with XSS payload
-
DeliveryAttacker distributes URL via phishing or social engineering
-
ExploitVictim clicks link while logged into Admidio
-
InstallBrowser sends GET request to msg_window.php with bracket-enclosed payload
-
C2Server passes payload through htmlspecialchars() (brackets unencoded)
-
ExecuteLanguage::prepareTextPlaceholders() converts brackets to angle brackets
-
ImpactInline JavaScript executes in victim's session context
-
Step 8Attacker steals cookies or performs administrative actions
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 | No authentication is required - any unauthenticated attacker can craft and distribute malicious URLs. The msg_window.php endpoint must be publicly accessible (default configuration of Admidio installations). The victim must click a malicious URL containing attacker-supplied GET parameters (message_id and message_var1). The Language::prepareTextPlaceholders() function must be invoked during message rendering - this occurs on every msg_window.php request. No special configuration or non-default features are required; the vulnerability exists in core message handling logic. Browser JavaScript execution must be enabled (universal assumption). What limits exploitation: attacks require user click (not blindly automated), victims must be in active browser session to steal meaningful session cookies, and redirect or social engineering attacks depend on victim credulity rather than technical inevitability. |
| Impact | CVSS 6.1 (AV:N/AC:L/PR:N/UI:R/S:C) indicates network-accessible, low-complexity reflected XSS requiring only user interaction and affecting confidentiality and integrity across scope. The proof-of-concept is functional and requires zero authentication, making barrier to exploitation minimal. The UI:R (User Interaction: Required) component limits mass automation but does not prevent social engineering via crafted URLs. No EPSS or KEV data provided, but the availability of a working POC, demonstrated endpoint exposure, and lack of Content-Security-Policy mitigation suggest moderate real-world risk in multi-user Admidio deployments where session hijacking or privilege escalation could occur. The attack surface is not restricted to authenticated users or non-default configurations - any publicly accessible Admidio instance running vulnerable versions is at risk. Real-world risk depends on organization's user security awareness and whether administrative users are targeted. |
| Exploit ScenarioDerived | An attacker discovers an Admidio installation and crafts a malicious URL containing reflected XSS payload in the message_var1 parameter, such as: https://victim-admidio.example.com/system/msg_window.php?message_id=INS_INSTALLATION_VERSION&message_var1=%5Bscript%5Dalert('XSS')%5B/script%5D. The attacker distributes this URL via phishing email, forum post, or social engineering targeting Admidio administrators or users. When a victim clicks the link while logged into Admidio, the JavaScript executes in their browser context, allowing the attacker to steal session cookies, modify user permissions, create backdoor accounts, or redirect the user to credential harvesting pages. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Reflected cross-site scripting (XSS) in Admidio's msg_window.php endpoint allows unauthenticated attackers to execute arbitrary JavaScript in any user's browser by exploiting incomplete output encoding. The vulnerability chains htmlspecialchars() (which does not encode square brackets) with a subsequent Language::prepareTextPlaceholders() call that converts brackets to angle brackets, producing executable HTML markup. Publicly available proof-of-concept demonstrates the attack requires only victim click (no authentication), and Admidio sets no Content-Security-Policy headers to block inline script execution.
RemediationAI
Upgrade Admidio to version 5.0.9 or later, which applies proper output encoding after Language::prepareTextPlaceholders() runs or escapes square brackets in user input before passing to Language::get(). Refer to the Admidio GitHub Security Advisory (https://github.com/Admidio/admidio/security/advisories/GHSA-gq27-fc8w-vcmp) for patch details and changelog. As a temporary mitigation if immediate upgrade is not feasible, implement a Content-Security-Policy header with script-src directive set to 'self' or a strict allowlist on the web server (nginx/Apache configuration), which will block inline scripts while allowing legitimate script resources - note this may affect some Admidio functionality that relies on inline event handlers and requires testing. Additionally, restrict access to system/msg_window.php endpoint to authenticated users only via web server authentication if the functionality is not required by anonymous users, reducing attack surface until patching is completed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in Admidio's language string handling mechanism. The msg_window.php endpoint accepts user-supplied GET parameters (message_var1) and passes them through htmlspecialchars(), which encodes <, >, &, double-quote, and single-quote but explicitly leaves square brackets [and ] unmodified per PHP documentation. These unencoded brackets are then passed to Language::get(), which internally invokes Language::prepareTextPlaceholders() - a character-level translation function using strtr() that maps '[]' to '<>'. This two-stage encoding gap transforms user input like [script]alert()[/script] into executable <script>alert()</script> tags. The absence of Content-Security-Policy headers means inline script execution faces no browser-level restrictions. CWE-79 (Improper Neutralization of Input During Web Page Generation) classifies this as a stored/reflected cross-site scripting issue caused by incomplete context-aware output encoding.
Know when PHP 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
An unauthenticated attacker can execute arbitrary JavaScript in any Admidio user's browser through a reflected XSS in system/msg_window.php. The endpoint passes user input through htmlspecialchars(), which does not encode square brackets. A subsequent call to Language::prepareTextPlaceholders() converts those brackets into HTML angle brackets, producing executable markup.
Details
The msg_window.php endpoint accepts message_id and message_var1 as GET parameters. At line 146, the code passes message_var1 through htmlspecialchars() before inserting it into the language string as a placeholder:
// system/msg_window.php:146
$messageText = $gL10n->get($messageId, array(htmlspecialchars($messageVar1)));htmlspecialchars() encodes <, >, &, ", and ' but leaves [ and ] untouched. The Language::get() method calls Language::prepareTextPlaceholders(), which performs a character-level translation:
// src/Infrastructure/Language.php:497
$text = strtr($text, '[]', '<>');This converts all square brackets in the output string, including those from user input, into angle brackets. An attacker submits [script]alert(document.domain)[/script], which survives htmlspecialchars() unchanged, then becomes <script>alert(document.domain)</script> after placeholder preparation.
The application sets no Content-Security-Policy headers, so inline scripts execute without restriction.
Proof of Concept
Visit the following URL on any Admidio installation (no authentication required):
https://<admidio-host>/system/msg_window.php?message_id=INS_INSTALLATION_VERSION&message_var1=%5Bscript%5Dalert(document.domain)%5B/script%5DThe server responds with an HTML page containing:
Installation version <script>alert(document.domain)</script>The JavaScript executes in the context of the Admidio origin, displaying the current domain in an alert dialog.
Impact
An attacker crafts a malicious URL and sends it to any Admidio user. When the victim clicks the link, attacker-controlled JavaScript runs in their browser session. The attacker can steal session cookies, perform administrative operations on behalf of the victim, or redirect the victim to phishing pages. The endpoint requires no authentication.
Recommended Fix
Apply output encoding after Language::prepareTextPlaceholders() runs, or stop translating square brackets that originate from user-supplied placeholder values. A targeted fix: escape [ and ] in user input before passing it into Language::get().
--- *Found by aisafe.io*
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-28274
GHSA-gq27-fc8w-vcmp
NVD
CVE.org
EPSS
Exploit-DB