This affects the package phantom-html-to-pdf before 0.6.1.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-PHANTOMHTMLTOPDF-1023598 | third party advisory exploit |
https://github.com/pofider/phantom-html-to-pdf/commit/b5d2da2639a49a95e0bdb3bc0c987cb6406b8259 | third party advisory |