2 matches found
Hugo: Build-host file disclosure through path traversal in vendored module metadata
Summary A theme or module can ship a vendor/modules.txt with an import path containing .. segments. Hugo used this path as the module's root directory without checking that it stays inside vendor, so a malicious theme can make Hugo treat any directory on the build host up to / as its module root...
GHSA-R48V-R4VW-H9V8 Hugo: Build-host file disclosure through path traversal in vendored module metadata
Summary A theme or module can ship a vendor/modules.txt with an import path containing .. segments. Hugo used this path as the module's root directory without checking that it stays inside vendor, so a malicious theme can make Hugo treat any directory on the build host up to / as its module root...