GitHub Advisoryadvisory · npm
GHSA-q4rg-7cjj-5r86 ExpressGateway Cross-Site Scripting Vulnerability in lib/rest/routes/users.js
MEDIUM
Official page ↗
- Aliases
- CVE-2025-9095
- Ecosystem
- npm
- Packages
- express-gateway
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2025-08-19
Affected packages
• npm express-gateway: <= 1.16.10 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2025-9095 A flaw has been found in ExpressGateway express-gateway up to 1.16.10. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-9095 advisory
- https://github.com/freshfish-hust/my-cves/issues/5 web
- https://github.com/freshfish-hust/my-cves/issues/5#issue-3286622393 web
- https://github.com/ExpressGateway/express-gateway package
- https://vuldb.com/?ctiid.320417 web
- https://vuldb.com/?id.320417 web
- https://vuldb.com/?submit.627709 web