CVE-2026-41661

Admidio: Reflected XSS in msg_window.php via Square Bracket to HTML Tag Conversion

Published May 7, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Admidio is an open-source user management solution. Prior to version 5.0.9, 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. This issue has been patched in version 5.0.9.

Analysis

AI-generated

Technical impact

Admidio’s system/msg_window.php fails to properly encode user input. The function htmlspecialchars() is used but it does not affect square brackets, which later Language::prepareTextPlaceholders() turns into angle brackets. As a result an attacker can embed arbitrary JavaScript that runs in the victim’s browser, enabling theft of credentials, session hijacking or defacement. The flaw is a client‑side injection (CWE‑79) that affects confidentiality and integrity of the application state.

Affected Systems

Any deployment of the Admidio open‑source user management solution with a version older than 5.0.9 is vulnerable. The vulnerability was fixed in the 5.0.9 release; earlier releases remain at risk.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity. Although no EPSS value is provided and the flaw is not listed in CISA’s KEV catalog, the remote, unauthenticated nature of the exploit means any user who can load the affected page could be compromised. Attackers would need only to craft a URL or form that triggers the payload. The impact is limited to the victim’s browser, not the server itself, but the attacker can still extract or alter data carried by the user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Admidio to version 5.0.9 or newer.
  • If upgrading is not immediately possible, block direct access to system/msg_window.php or ensure that all user input is processed with a sanitization routine that removes or encodes square brackets before placeholders are prepared.
  • Monitor web traffic for unexpected scripts and review application logs for unusual XSS attempts.

Generated by OpenCVE AI on May 7, 2026 at 05:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gq27-fc8w-vcmp Admidio vulnerable to reflected XSS in msg_window.php via Square Bracket to HTML Tag Conversion
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Admidio
Admidio admidio
Vendors & Products Admidio
Admidio admidio
Type Values Removed Values Added
Description Admidio is an open-source user management solution. Prior to version 5.0.9, 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. This issue has been patched in version 5.0.9.
Title Admidio: Reflected XSS in msg_window.php via Square Bracket to HTML Tag Conversion
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 7, 2026, 2:58 PM
Reserved
Apr 21, 2026, 11:58 PM
Status
Deferred
Published
May 7, 2026, 4:16 AM
Modified
Jun 17, 2026, 10:46 AM