art-template - Path Traversal in Sub-Template Resolution via include()/extend()
art-template
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| art-template art-template |
| No fix yet |
Original description
art-template's sub-template resolution logic (src/compile/adapter/resolve-filename.js), used by both the include and extend template directives, resolves the target file path via path.resolve(root, filename) with no check afterward that the result remains inside root.
From the CVE record · TuranSec