CVE-2024-58305 WonderCMS 4.3.2 Cross-Site Scripting Remote Code Execution via Module Installation
Attackers can execute remote code by tricking an authenticated administrator into installing a malicious module via a cross-site scripting payload.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-58305?
CVE-2024-58305 is a high-severity cross-site scripting vulnerability in WonderCMS, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
WonderCMS 4.3.2 contains a cross-site scripting vulnerability that allows attackers to inject malicious JavaScript through the module installation endpoint. Attackers can craft a specially designed XSS payload to install a reverse shell module and execute remote commands by tricking an authenticated administrator into accessing a malicious link.
Weakness: CWE-79
Which versions are affected by CVE-2024-58305?
How do I fix CVE-2024-58305?
No fix has been published for CVE-2024-58305 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-58305 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-58305 exists.
Sources
Also known as GHSA-xgm3-gj32-7f57.