CVE-2022-50951 WiFi File Transfer 1.0.8 Persistent XSS via Web Server Input Validation
Remote attackers can inject malicious scripts via file names in WiFi File Transfer, leading to arbitrary JavaScript execution in user browsers.
- 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-2022-50951?
CVE-2022-50951 is a medium-severity cross-site scripting vulnerability in smarterDroid WiFi File Transfer, published on 1 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
WiFi File Transfer 1.0.8 contains a persistent cross-site scripting vulnerability that allows remote attackers to inject malicious script codes through file and folder names. Attackers can exploit the web server's input validation weakness to execute arbitrary JavaScript when users preview infected file paths, potentially compromising user browser sessions.
Weakness: CWE-79
Which versions are affected by CVE-2022-50951?
How do I fix CVE-2022-50951?
No fix has been published for CVE-2022-50951 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-2022-50951 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-50951 exists.
Sources
Also known as GHSA-8wrr-chc3-qqrw.