GitHub Advisory Database
GHSA-2rq5-699j-x7p6
Arbitrary local file read vulnerability during template rendering
Details
Directory traversal vulnerability in swig-templates thru 2.0.4 and swig thru 1.4.2, allows attackers to read arbitrary files via the include or extends tags.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | swig-templates | All versions up to and including 2.0.4 |
| npm | swig | All versions up to and including 1.4.2 |