CVE-2026-25557 Evoluted PHP Directory Listing Script 4.0.5 Reflected XSS via dir parameter
Attackers can execute arbitrary JavaScript in victims' browsers via the dir parameter in Evoluted PHP Directory Listing Script.
- 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-2026-25557?
CVE-2026-25557 is a medium-severity cross-site scripting vulnerability in Evoluted PHP Directory Listing Script, published on 9 Jun 2026. 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
Evoluted PHP Directory Listing Script through 4.0.5 contains a reflected cross-site scripting vulnerability in index.php where the dir parameter value is reflected without HTML encoding inside the HTML title element and inside anchor href attributes in the breadcrumb navigation. Attackers can inject arbitrary JavaScript via crafted dir parameter values by breaking out of the title context or injecting event handlers into breadcrumb anchor attributes to execute malicious scripts in a victim's browser.
Weakness: CWE-79
Which versions are affected by CVE-2026-25557?
How do I fix CVE-2026-25557?
No fix has been published for CVE-2026-25557 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-2026-25557 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25557 exists.
Sources
Also known as GHSA-257r-32w8-x7cj.