ExpressGateway Cross-Site Scripting Vulnerability in lib/rest/routes/users.js
A cross-site scripting (XSS) issue exists in ExpressGateway up to 1.16.10 in the REST endpoint implemented in lib/rest/routes/users.js. User-controlled input is reflected into the HTTP response without proper sanitization, allowing arbitrary JavaScript execution in the browser of a logged-in user who views the affected page/route. The attack can be triggered over the network with low complexity and requires a low-privileged authenticated context and user interaction (viewing the page). Impact is limited to confidentiality and integrity of the session in the affected UI.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | express-gateway | <= 1.16.10 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-9095
- https://github.com/freshfish-hust/my-cves/issues/5
- https://github.com/freshfish-hust/my-cves/issues/5#issue-3286622393
- https://github.com/ExpressGateway/express-gateway
- https://vuldb.com/?ctiid.320417
- https://vuldb.com/?id.320417
- https://vuldb.com/?submit.627709
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
express-gateway- Disclosed
- 18.08.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-q4rg-7cjj-5r86 - CC BY 4.0
Vulnerability history: express-gateway
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 08.2025 08.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2025: 2
- 2026: 0
-
ExpressGateway Cross-Site Scripting Vulnerability in lib/rest/routes/users.js this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.