Hugo theme-defined module replacements bypass mount restrictions and widen the Node.js read sandbox
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| go:github.com/gohugoio/hugo | >= 0.152.0, < 0.168.0 | 0.168.0 |
A theme or module could define its own module.replacements and mount directories anywhere on the host. Details A theme or module could define its own module.replacements. If the project didn't set any replacements, Hugo applied the theme's replacements as if the project had set them. The theme could then import and mount a directory anywhere on the host, either by absolute path or by escaping themesDir with ../. This got around the rule that theme mount sources must be local paths. Mounting suc…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/01 06:49,GitHub Advisory Database 发布了“Hugo theme-defined module replacements bypass mount restrictions and widen the Node.js read sandbox”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Go、GitHub、JavaScript / Node.js。