GitHub Advisoryadvisory · npm
GHSA-jhgp-hvj6-x2p2 Stored Cross-Site Scripting in tianma-static
MEDIUM
Official page ↗
- Aliases
- CVE-2018-16474
- Ecosystem
- npm
- Packages
- tianma-static
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• npm tianma-static: <= 1.0.4 (no fix yet)
Description
All versions of `tianma-static` are vulnerable to stored cross-site scripting (XSS). The vulnerability is exploitable if a user can control the name of a file that is served by `tianma-static`
Recommendation
As no fix is available for this vulnerability at this time it is our recommendation to use another static file server.
Related
Alias · CVE (1)
- CVE-2018-16474 A stored xss in tianma-static module versions <=1.0.4 allows an attacker to execute arbitrary javascript. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness