JLSEC-2026-796

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2026/JLSEC-2026-796.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-796.json
JSON Data
https://api.osv.dev/v1/vulns/JLSEC-2026-796
Upstream
  • EUVD-2026-41904
Published
2026-07-25T03:41:43.685Z
Modified
2026-07-25T03:45:04.161677031Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.1 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
XSS via unescaped code-fence language in default code block renderer
Details

Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or 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 issue is fixed in 0.163.3.

Database specific
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "id": "CVE-2026-58402",
            "published": "2026-07-06T20:16:38.040Z",
            "imported": "2026-07-24T13:46:36.685Z",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58402",
            "modified": "2026-07-08T03:06:03.630Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58402",
            "database_specific": {
                "status": "Analyzed"
            }
        },
        {
            "id": "EUVD-2026-41904",
            "html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41904",
            "imported": "2026-07-24T13:46:37.731Z",
            "url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-41904",
            "published": "2026-07-06T19:19:58Z",
            "modified": "2026-07-06T20:54:38Z"
        }
    ]
}
References

Affected packages

Julia / Hugo_jll

Package

Name
Hugo_jll
Purl
pkg:julia/Hugo_jll?uuid=c8420254-0ddf-5525-a2d3-3ad9242def7d

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.163.3+0

Database specific

source
"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-796.json"