Skip to content

chore: bump github.com/gohugoio/hugo from 0.158.0 to 0.159.2#23957

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.159.2
Apr 2, 2026
Merged

chore: bump github.com/gohugoio/hugo from 0.158.0 to 0.159.2#23957
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/gohugoio/hugo-0.159.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 2, 2026

Bumps github.com/gohugoio/hugo from 0.158.0 to 0.159.2.

Release notes

Sourced from github.com/gohugoio/hugo's releases.

v0.159.2

Note that the security fix below is not a potential threat if you either:

EDIT IN: This release also adds release archives for non-extended-withdeploy builds.

What's Changed

  • Fix potential content XSS by escaping dangerous URLs in Markdown links and images 479fe6c6 @​bep
  • resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser df520e31 @​jmooring #14684

v0.159.1

The regression fixed in this release isn't new, but it's so subtle that we thought we'd release this sooner rather than later. For some time now, the minifier we use have stripped namespaced attributes in SVGs, which broke dynamic constructs using e.g. AlpineJS' x-bind: namespace (library used by Hugo's documentation site).

To fix this, the upstream library has hadded a keepNamespaces slice option. It was not possible to find a default that would make all happy, so we opted for an option that at least would make AlpineJS sites work out of the box:

 [minify.tdewolff.svg]
      keepNamespaces = ['', 'x-bind']

What's Changed

  • minifiers: Keep x-bind and blank namespace in SVG minification 42289d76 @​bep #14669

v0.159.0

This release greatly improves and simplifies management of Node.js/npm dependencies in a multi-module setup. See this page for more information.

Note

  • Replace deprecated site.Data with hugo.Data in tests a8fca598 @​bep
  • Replace deprecated excludeFiles and includeFiles with files in tests 182b1045 @​bep
  • Replace deprecated :filename with :contentbasename in the permalinks test eb11c3d0 @​bep

Bug fixes

Improvements

  • create: Return error instead of panic when page not found 807cae1d @​mango766 #14112
  • commands: Preserve non-content files in convert output c4fb61d9 @​xndvaz #4621
  • npm: Use workspaces to simplify hugo mod npm pack d88a29e0 @​bep

... (truncated)

Commits
  • 5f4646a releaser: Bump versions for release of 0.159.2
  • 479fe6c Fix potential content XSS by escaping dangerous URLs in links and images
  • 81a5cdc releaser: Add standard withdeploy release assets
  • df520e3 resources/page: Fix shared reader in Source.ValueAsOpenReadSeekCloser
  • b55d452 testing: Simplify line ending handling in tests
  • ea7eac6 readme: Update Go version to 1.25.0
  • 458ebdd releaser: Prepare repository for 0.160.0-DEV
  • 86c7d3a releaser: Bump versions for release of 0.159.1
  • 42289d7 minifiers: Keep x-bind and blank namespace in SVG minification
  • 0c013c2 Adjust depreceated syntax in tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 2, 2026
@github-actions github-actions Bot enabled auto-merge (squash) April 2, 2026 07:51
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.158.0 to 0.159.2.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](gohugoio/hugo@v0.158.0...v0.159.2)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-version: 0.159.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@ethanndickson ethanndickson force-pushed the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch from 125e2d2 to d1d3140 Compare April 2, 2026 08:08
@github-actions github-actions Bot merged commit 78fa809 into main Apr 2, 2026
21 of 22 checks passed
@github-actions github-actions Bot deleted the dependabot/go_modules/github.com/gohugoio/hugo-0.159.2 branch April 2, 2026 08:44
Shelnutt2 added a commit that referenced this pull request May 13, 2026
Bump `github.com/yuin/goldmark` from v1.7.16 to v1.7.17 to fix
[CVE-2026-5160](https://nvd.nist.gov/vuln/detail/CVE-2026-5160).

goldmark v1.7.16 is vulnerable to XSS due to improper ordering of URL
validation and normalization. The renderer validates link destinations
using a prefix-based check (`IsDangerousURL`) before resolving HTML
entities, allowing an attacker to bypass validation with entity-encoded
`javascript:` URIs.

This is the minimal fix for the IronBank finding on the
`coder/coder-enterprise/coder-service-2:2.31.11` image. The fix is
already on `main` (v1.8.2 via Hugo bump in #23957); this targets the
v2.31.x release branch with only the goldmark dependency change.

Closes [ENT-8](https://linear.app/codercom/issue/ENT-8)

> Generated by Coder Agents
Shelnutt2 added a commit that referenced this pull request May 13, 2026
Upgrade `github.com/yuin/goldmark` from v1.7.13 to v1.7.17 to address
CVE-2026-5160, an XSS vulnerability caused by improper ordering of URL
validation and normalization.

- **CVE:**
[CVE-2026-5160](https://nvd.nist.gov/vuln/detail/CVE-2026-5160)
- **Previous version:** v1.7.13
- **New version:** v1.7.17

Related: #23957 (main fix)

> [!NOTE]
> This PR was generated by [Coder Agents](https://coder.com) for Linear
issue
[ENT-33](https://linear.app/codercom/issue/ENT-33/ironbank-v230x-upgrade-goldmark-from-v1713-cve-2026-5160).
Shelnutt2 added a commit that referenced this pull request May 13, 2026
## Summary

Upgrades `github.com/yuin/goldmark` from v1.7.13 to v1.7.17 on the
`release/2.29` branch to remediate **CVE-2026-5160** (XSS via improper
ordering of URL validation and normalization).

## Changes

- `go.mod`: bump `github.com/yuin/goldmark` v1.7.13 → v1.7.17
- `go.sum`: updated checksums

## References

- [CVE-2026-5160 (NVD)](https://nvd.nist.gov/vuln/detail/CVE-2026-5160)
- Fix on main: #23957
- Linear: ENT-41

> [!NOTE]
> Generated by Coder Agents. Please review before merging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants