CVE-2025-10246 lokibhardwaj PHP-Code-For-Unlimited-File-Upload f.php cross site scripting
An attacker can execute arbitrary scripts in the victim's browser via the h argument in f.php, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-10246?
CVE-2025-10246 is a medium-severity cross-site scripting vulnerability in lokibhardwaj PHP-Code-For-Unlimited-File-Upload, published on 11 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A weakness has been identified in lokibhardwaj PHP-Code-For-Unlimited-File-Upload up to 124fe96324915490c81eaf7db3234b0b4e4bab3c. This affects an unknown part of the file /f.php. This manipulation of the argument h causes cross site scripting. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be exploited. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-10246?
How do I fix CVE-2025-10246?
No fix has been published for CVE-2025-10246 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-2025-10246 being exploited?
There is no known exploitation of CVE-2025-10246 in the wild and no public exploit code.
Sources
Also known as GHSA-m564-wfm4-mgh3.