CVE-2018-16474
Stored Cross-Site Scripting in tianma-static
A stored xss in tianma-static module versions <=1.0.4 allows an attacker to execute arbitrary javascript.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
A stored xss in tianma-static module versions <=1.0.4 allows an attacker to execute arbitrary javascript.
- Record
CVE-2018-16474- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
A stored xss in tianma-static module versions <=1.0.4 allows an attacker to execute arbitrary javascript.
- Record
CVE-2018-16474- Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2018-0759 No score
A stored xss in tianma-static module versions <=1.0.4 allows an attacker to execute arbitrary javascript.
- Record
EUVD-2018-0759- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jhgp-hvj6-x2p2
6.1
Stored Cross-Site Scripting in tianma-static
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.
- Record
GHSA-jhgp-hvj6-x2p2- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-jhgp-hvj6-x2p2
6.1
Stored Cross-Site Scripting in tianma-static
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.
- Record
GHSA-jhgp-hvj6-x2p2- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tianma-staticnpm |
through 1.0.4 | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-16474 is a medium vulnerability (CVSS 6.1) in Npm Tianma-static, published November 6, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.77%, the 55th percentile. No source names a fixed version.