CVE-2025-9095 ExpressGateway express-gateway REST Endpoint users.js cross site scripting
Remote attackers can execute arbitrary scripts via cross-site scripting in the ExpressGateway REST endpoint, potentially compromising user sessions.
- 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-9095?
CVE-2025-9095 is a medium-severity cross-site scripting vulnerability in ExpressGateway express-gateway, published on 17 Aug 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 flaw has been found in ExpressGateway express-gateway up to 1.16.10. This issue affects some unknown processing in the library lib/rest/routes/users.js of the component REST Endpoint. The manipulation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-9095?
2 open source packages ship an affected version, including express-gateway.
| Package | Affected | Fixed in |
|---|---|---|
express-gateway npm | All versions to 1.16.10 | None |
express-gateway npm | All versions to 1.16.10 | None |
How do I fix CVE-2025-9095?
No fix has been published for CVE-2025-9095 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-9095 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9095 exists.
Sources
Also known as GHSA-q4rg-7cjj-5r86.