CVE-2025-9095: 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.
Published Aug 18, 2025 · Updated Sep 23, 2025
Affected packages
express-gateway
- Ecosystem
- npm
- Affected
- <= 1.16.10
- Fixed in
- No patched version yet
- Check
npm ls express-gateway
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to cai0duque.
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://vuldb.com/?ctiid.320417
- https://vuldb.com/?id.320417
- https://vuldb.com/?submit.627709
- https://github.com/advisories/GHSA-q4rg-7cjj-5r86
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
