Intel

AIKIDO-2025-10110

magewirephp/magewire is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 24, 2025

30

Low Risk

This Affects:

phpmagewirephp/magewire
1.0.0 - 1.11.1
Fixed in 1.12.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by improper input validation. It fails to escape data properly and lacks a strict Content Security Policy (CSP). This vulnerability allows attackers to inject malicious payloads, leading to cross-site scripting. As a result, an attacker can steal session cookies, exfiltrate sensitive data, or perform unauthorized actions on behalf of users. The absence of CSP further increases the risk by permitting inline scripts and event handlers to execute freely.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

magewirephp/magewire is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 1.11.1.

How to fix this

Upgrade the magewirephp/magewire library to the patch version.