CVE-2024-58297 PyroCMS v3.0.1 Stored Cross-Site Scripting via Admin Redirects
Attackers can inject malicious scripts into admin redirects, leading to arbitrary JavaScript execution when administrators view the page.
- 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-58297?
CVE-2024-58297 is a medium-severity cross-site scripting vulnerability in PyroCMS, published on 11 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
PyroCMS v3.0.1 contains a stored cross-site scripting vulnerability in the admin redirects configuration that allows attackers to inject malicious scripts. Attackers can insert a payload in the 'Redirect From' field to execute arbitrary JavaScript when administrators view the redirects page.
Weakness: CWE-79
Which versions are affected by CVE-2024-58297?
It affects 1 product.
Products include Pyrocms Pyrocms.
How do I fix CVE-2024-58297?
No fix has been published for CVE-2024-58297 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-58297 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-58297 exists.
Other vulnerabilities in PyroCMS
Sources
Also known as GHSA-5gm4-757j-3p92.