Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-10366 Overview
CVE-2025-10366 is a cross-site scripting (XSS) vulnerability affecting MiczFlor RPi-Jukebox-RFID versions up to and including 2.8.0. The flaw resides in the /htdocs/inc.setWlanIpMail.php script, where the Email address argument is reflected without proper sanitization. An authenticated remote attacker can craft a malicious payload that executes JavaScript in a victim's browser session when the user interacts with the manipulated input. The vendor was contacted prior to public disclosure but did not respond. A proof-of-concept exploit has been published, increasing the risk of opportunistic abuse against exposed instances.
Critical Impact
Attackers can inject arbitrary scripts into the Jukebox administrative interface, enabling session theft, credential capture, or forced actions in the context of the authenticated user.
Affected Products
- MiczFlor RPi-Jukebox-RFID versions up to 2.8.0
- The vulnerable component is /htdocs/inc.setWlanIpMail.php
- The Email address parameter accepts unsanitized input
Discovery Timeline
- 2025-09-13 - CVE-2025-10366 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-10366
Vulnerability Analysis
The vulnerability is a reflected cross-site scripting flaw [CWE-79] in the Raspberry Pi-based Jukebox RFID web interface. The inc.setWlanIpMail.php endpoint accepts an Email address argument intended to configure email notifications for WLAN IP changes. The application does not validate, encode, or sanitize this input before echoing it back into the response HTML. An attacker who can direct an authenticated low-privilege user to a crafted request can execute arbitrary JavaScript in the user's browser session. Successful exploitation permits actions such as cookie theft, UI defacement, forced administrative changes, and pivoting to the underlying Raspberry Pi system through the authenticated web session.
Root Cause
The root cause is missing output encoding on user-supplied input. The Email address parameter is reflected into the HTTP response without HTML entity encoding or input validation against an email address format. This allows attacker-controlled markup and script tags to be rendered as part of the page.
Attack Vector
Exploitation requires network access to the Jukebox web interface and some level of user interaction. The attacker crafts a URL or form submission containing a malicious payload in the Email address field. When processed, the payload is reflected into the page and executed by the browser. See the published GitHub PoC for CVE-2025-10366 for the exact request structure.
No verified exploit code is reproduced here. Refer to the GitHub advisory and VulDB entry 323774 for technical details.
Detection Methods for CVE-2025-10366
Indicators of Compromise
- HTTP requests to /htdocs/inc.setWlanIpMail.php containing <script>, onerror=, onload=, or URL-encoded script fragments in the Email parameter.
- Web server access logs showing unusually long or encoded values submitted to the email parameter.
- Browser console errors or unexpected outbound requests originating from the Jukebox admin interface.
Detection Strategies
- Inspect web server access logs for anomalous payloads in query strings and POST bodies targeting inc.setWlanIpMail.php.
- Deploy a web application firewall rule to flag non-RFC 5321 compliant content submitted to the Email address field.
- Monitor for authenticated sessions issuing requests inconsistent with normal administrative workflows.
Monitoring Recommendations
- Enable verbose logging on the Jukebox web server and forward logs to a centralized analytics platform.
- Alert on repeated 200-response requests to the vulnerable endpoint from the same source IP within short windows.
- Review browser telemetry on admin workstations for script execution originating from the Jukebox host.
How to Mitigate CVE-2025-10366
Immediate Actions Required
- Restrict network access to the Jukebox web interface to trusted administrative hosts only.
- Avoid clicking untrusted links while authenticated to the Jukebox administrative interface.
- Review user accounts and rotate any credentials that may have been used in a potentially compromised session.
Patch Information
No vendor patch is listed in the referenced advisories. The project maintainer did not respond to disclosure attempts. Monitor the MiczFlor RPi-Jukebox-RFID project for future updates past version 2.8.0.
Workarounds
- Place the Jukebox behind a reverse proxy that enforces input validation and strips script content from the Email parameter.
- Apply a web application firewall rule blocking HTML tags and JavaScript event handlers submitted to /htdocs/inc.setWlanIpMail.php.
- Disable or remove the inc.setWlanIpMail.php endpoint if WLAN IP email notifications are not required.
- Enforce a strict Content-Security-Policy header on the web server to limit inline script execution.
# Example nginx snippet to block requests containing script tags in the Email parameter
location /htdocs/inc.setWlanIpMail.php {
if ($args ~* "(<script|onerror=|onload=|javascript:)") {
return 403;
}
add_header Content-Security-Policy "default-src 'self'; script-src 'self'";
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

