MagicMirror Server-Side Request Forgery Vulnerability in CORS Endpoint

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in MagicMirror versions prior to 2.36.0. The vulnerability exists in the '/cors' endpoint, which acts as an open HTTP proxy without authentication or URL validation. This allows remote attackers to make arbitrary HTTP requests from the MagicMirror server to internal networks, cloud metadata services, and localhost services. Additionally, the endpoint expands environment variable placeholders, enabling the exfiltration of server-side secrets such as API keys and database credentials.

Impact

Exploitation of this vulnerability could lead to unauthorized access to internal services, cloud metadata, and environment variables containing sensitive information.

Reproduction

To reproduce this vulnerability, send a GET request to the '/cors' endpoint with a URL parameter pointing to an internal service or a cloud metadata URL. The server will fetch the URL and return the response, effectively acting as a proxy. To exfiltrate environment variables, include a placeholder in the URL parameter that corresponds to a secret variable name.

Remediation

Users are advised to update MagicMirror to version 2.36.0 or later.

Added: May 14, 2026, 4:31 PM
Updated: May 14, 2026, 4:31 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
8.3
threat
6.5
urgency
2.9
incentive
4.2

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