Admidio Reflected Cross-Site Scripting Vulnerability in msg_window.php

Vulnerability

A reflected cross-site scripting vulnerability has been identified in Admidio versions prior to 5.0.9. The issue allows an unauthenticated attacker to execute arbitrary JavaScript in the browser of any Admidio user. This vulnerability arises in the system/msg_window.php file, where user input is not properly sanitized before being processed. The endpoint uses htmlspecialchars() to encode certain characters, but this function does not handle square brackets. Subsequently, the Language::prepareTextPlaceholders() function converts these brackets into HTML angle brackets, creating executable script tags. The vulnerability has been patched in Admidio version 5.0.9.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can execute JavaScript in the context of the victim's browser session. This could lead to theft of session cookies, unauthorized actions performed on behalf of the victim, or redirection to phishing sites.

Reproduction

To reproduce this vulnerability, send a GET request to the system/msg_window.php endpoint with a crafted message_var1 parameter that includes square brackets, such as '[script]alert(document.domain)[/script]'. The server will respond with a page that executes the JavaScript in the context of the user's browser.

Remediation

Users are advised to update to Admidio version 5.0.9, where this vulnerability has been fixed.

Added: May 7, 2026, 4:34 AM
Updated: May 7, 2026, 4:34 AM

Vulnerability Rating

Custom Algorithm
spread
5.0
impact
1.7
exploitability
7.5
remediation
7.7
relevance
7.7
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.