| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| github.com/gohugoio/hugo | ≥ 0.60.0, < 0.163.3 | 0.163.3 |
| hugo | ≥ 0.60.0, < 0.163.3 | 0.163.3 |
Hugo's default code-block renderer wrote the Markdown code-fence language / info-string into the <code class="language-…" data-lang="…"> wrapper without HTML escaping. A fence info-string containing a quote and a <script> payload breaks out of the attribute and injects a live script element.
This is not an issue if you fully trust every file under /content and every content adapter you load.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン