← Back to scan
File as GitHub Issue repo: gohugoio/hugo

Push this scan report to gohugoio/hugo

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Server-Side Request Forgery (SSRF) — outbound HTTP from user input

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… tpl/internal/go_templates/testenv/exec.…:74
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … hugolib/doctree/treeshifttree.go:68
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … docs/assets/js/helpers/lrucache.js:15
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… docs/assets/js/alpinejs/data/explorer.js:29
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… config/security/securityConfig.go:192
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… common/urls/baseURL.go:75
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… common/hexec/esmloader.mjs:46
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… resources/images/meta/meta.go:218
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… common/hsync/oncemore.go:91
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… common/herrors/errors.go:37
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). tpl/crypto/crypto.go:19
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). resources/resource_transformers/integri…:17
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). common/hashing/hashing.go:18
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. deploy/cloudfront.go:70
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. commands/mod.go:70
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. cache/filecache/filecache_pruner.go:75
HIGH MINED115 [MINED115] Action `github/codeql-action/analyze` pinned to mutable ref `@v3`: `uses: gith… docs/.github/workflows/codeql-analysis.…:26
HIGH MINED115 [MINED115] Action `github/codeql-action/init` pinned to mutable ref `@v3`: `uses: github/… docs/.github/workflows/codeql-analysis.…:21
HIGH MINED119 [MINED119] Dockerfile `ADD https://github.com/sass/dart-sass/releases/download/${DART_SAS… Dockerfile:55
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… hugolib/config.go:40
MED SEC089 [SEC089] Go: bind to all interfaces (0.0.0.0): Server binds to all network interfaces — e… helpers/general.go:39
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… helpers/general.go:194
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… helpers/content.go:91
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… common/types/hstring/stringtypes.go:35
MED WEB009 sitemap.xml is not valid XML tpl/tplimpl/embedded/templates/sitemap.…
MED DKR013 Dockerfile ADD downloads remote content Dockerfile:55
MED AIC004 Suspicious implementation file appears unreferenced hugolib/page__new.go:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… resources/resource_transformers/js/buil…:117
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. commands/deploy_flags.go:24
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. commands/convert.go:116
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. commands/config.go:118
LOW AIC003 Duplicated implementation block across source files resources/resource_transformers/cssjs/t…:74
LOW AIC003 Duplicated implementation block across source files resources/resource_transformers/cssjs/p…:113
LOW AIC003 Duplicated implementation block across source files resources/resource/resource_helpers.go:19
LOW AIC003 Duplicated implementation block across source files markup/internal/attributes/attributes.go:17
LOW AIC003 Duplicated implementation block across source files internal/warpc/webp.go:163
LOW AIC003 Duplicated implementation block across source files internal/warpc/genwebp/webp.c:24
LOW AIC003 Duplicated implementation block across source files common/loggers/handlerterminal.go:32
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW AIC002 Source file name looks like an AI patch artifact hugolib/page__new.go:1
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… tpl/internal/go_templates/htmltemplate/…:216
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… livereload/connection.go:50
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… helpers/url.go:100
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … internal/warpc/js/greet.js:7
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … internal/warpc/js/common.js:9
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … create/skeletons/theme/assets/js/main.js:1
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… hugofs/walk.go:106
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… hugofs/component_fs.go:288
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… common/hreflect/helpers.go:362
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. cache/httpcache/httpcache.go:174
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. cache/filecache/filecache_pruner.go:152
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. cache/filecache/filecache_config.go:133
Reset to top 5 52 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `gohugoio/hugo`

**Score: 80/100 (A-)**  ·  52 findings  ·  scanned 2026-06-05 07:03 UTC  ·  232,236 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 19 |
| MEDIUM | 8 |
| LOW | 13 |

📊 [Full filterable report](https://repobility.com/scan/6516291b-a7ba-402f-8700-eb9126778b1e/)  ·  ![scorecard](https://repobility.com/scan/6516291b-a7ba-402f-8700-eb9126778b1e/report.png?v=1780643001-s2)

### Top findings

1. **HIGH** `SEC093` — Go: exec.Command with non-literal
   `tpl/internal/go_templates/testenv/exec.go:74`
2. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `hugolib/doctree/treeshifttree.go:68`
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `docs/assets/js/helpers/lrucache.js:15`
4. **HIGH** `MINED027` — React State Array Mutation
   `docs/assets/js/alpinejs/data/explorer.js:29` · CWE-682 · ✓ Repobility
5. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `config/security/securityConfig.go:192` · A10:2021 SSRF

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/6516291b-a7ba-402f-8700-eb9126778b1e/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 6 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'gohugoio/hugo' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.