Every CVE Search/ Get API key

CVE-2018-16474

Stored Cross-Site Scripting in tianma-static

6.1 Medium

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

0.77%Up 0.3 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
tianma-static
npm
through 1.0.4 None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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.

References

MoveEnter Open