GHSA-MCV8-8M8X-48PG
Vulnerability from github – Published: 2026-04-03 23:38 – Updated: 2026-04-06 23:42
VLAI?
Summary
Hugo: Certain markdown links are not properly escaped
Details
Impact
Links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected.
Patches
Patched in v0.159.2
Workarounds
Create custom render hooks for links and images in a Hugo theme/project.
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/gohugoio/hugo"
},
"ranges": [
{
"events": [
{
"introduced": "0.60.0"
},
{
"fixed": "0.159.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-35166"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2026-04-03T23:38:19Z",
"nvd_published_at": "2026-04-06T18:16:43Z",
"severity": "MODERATE"
},
"details": "### Impact\nLinks and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected.\n\n### Patches\nPatched in v0.159.2\n\n### Workarounds\nCreate custom render hooks for links and images in a Hugo theme/project.",
"id": "GHSA-mcv8-8m8x-48pg",
"modified": "2026-04-06T23:42:22Z",
"published": "2026-04-03T23:38:19Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-mcv8-8m8x-48pg"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-35166"
},
{
"type": "WEB",
"url": "https://github.com/gohugoio/hugo/commit/479fe6c654937a850b65e74551dc4e857d52898f"
},
{
"type": "PACKAGE",
"url": "https://github.com/gohugoio/hugo"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
"type": "CVSS_V4"
}
],
"summary": "Hugo: Certain markdown links are not properly escaped"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…