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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| art-template | art-template | ≤ 4.13.4 | — |
References
- https://github.com/aui/art-template third-party-advisory