CVE-2018-25349 userSpice 4.3.24 Cross-Site Scripting via X-Forwarded-For Header
Attackers can inject malicious scripts via the X-Forwarded-For header in userSpice, leading to code execution when administrators view the audit log.
- 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-2018-25349?
CVE-2018-25349 is a medium-severity cross-site scripting vulnerability in userSpice, published on 23 May 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
userSpice 4.3.24 contains a cross-site scripting vulnerability that allows attackers to inject malicious scripts through the X-Forwarded-For HTTP header. Attackers can send crafted requests to the backup.php endpoint with XSS payloads in the X-Forwarded-For header that execute when administrators visit the audit log page.
Weakness: CWE-79
Which versions are affected by CVE-2018-25349?
How do I fix CVE-2018-25349?
No fix has been published for CVE-2018-25349 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-2018-25349 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25349 exists.
Sources
Also known as GHSA-7m67-452p-94vw.