Skip to content

Stored Cross-Site Scripting in tianma-static

Moderate severity GitHub Reviewed Published Nov 6, 2018 to the GitHub Advisory Database • Updated Sep 12, 2023

Package

npm tianma-static (npm)

Affected versions

<= 1.0.4

Patched versions

None

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.

References

Published to the GitHub Advisory Database Nov 6, 2018
Reviewed Jun 16, 2020
Last updated Sep 12, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2018-16474

GHSA ID

GHSA-jhgp-hvj6-x2p2

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.