GHSA-hwcf-pp87-7x6p

Suggest an improvement
Source
https://github.com/advisories/GHSA-hwcf-pp87-7x6p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-hwcf-pp87-7x6p/GHSA-hwcf-pp87-7x6p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hwcf-pp87-7x6p
Aliases
Published
2017-11-30T23:15:05Z
Modified
2023-11-08T03:58:43.740712Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
mde ejs vulnerable to XSS
Details

nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:41:14Z"
}
References

Affected packages

npm / ejs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.5