Security mailing lists by PureSourceCode

CVE-2024-43800

MEDIUM 4.7CVSS 3.1

serve-static vulnerable to template injection that can lead to XSS

serve-static serves static files. serve-static passes untrusted user input - even after sanitizing it - to redirect() may execute untrusted code. This issue is patched in serve-static 1.16.0.

Published
10 Sep 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-cm22-4g7w-348p
Sources
NVDJSONOSV GHSA-cm22-4g7w-348pJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openjsf serve-static
cpe:2.3:a:openjsf:serve-static:*:*:*:*:*:node.js:*:*
< 1.16.0 1.16.0
NVD openjsf serve-static
cpe:2.3:a:openjsf:serve-static:*:*:*:*:*:node.js:*:*
>= 2.0.0, < 2.1.0 2.1.0
OSV npm serve-static < 1.16.0 1.16.0
OSV npm serve-static >= 2.0.0, < 2.1.0 2.1.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Sep 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.