Skip to main content

Admidio CVE-2026-41661

| EUVDEUVD-2026-28274 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-29 https://github.com/Admidio/admidio GHSA-gq27-fc8w-vcmp
6.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker crafts malicious URL with XSS payload
  2. Delivery
    Attacker distributes URL via phishing or social engineering
  3. Exploit
    Victim clicks link while logged into Admidio
  4. Install
    Browser sends GET request to msg_window.php with bracket-enclosed payload
  5. C2
    Server passes payload through htmlspecialchars() (brackets unencoded)
  6. Execute
    Language::prepareTextPlaceholders() converts brackets to angle brackets
  7. Impact
    Inline JavaScript executes in victim's session context
  8. Step 8
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

admidio < 5.0.9

Affected Packages

composer admidio/admidio fix: 5.0.9
euvd admidio fix: 5.0.9

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

GitHub Advisory PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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:

php
// 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:

php
// 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%5D

The server responds with an HTML page containing:

html
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

EPSS Score
0.1%
Top 83% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy