CVE-2026-140394

MediumCVSS 5.4/10Last modified Dec 1, 2026

Description

Hugo after 0.140.2 and before 0.170.0 contains a stored cross-site scripting vulnerability in the highlight shortcode and transform.Highlight template function, which write the wrapperClass option unescaped into the wrapping div's class attribute. Content authors can supply a wrapperClass value that closes the attribute and appends a script element, executing JavaScript in visitors' browsers under the site's origin.

Metrics

CVSS 3.1 5.4/10CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 1, 2026
Last modified
Dec 1, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1403957.5Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read arbitrary build hostCVE-2026-1403965.5Ghost from 1.0.0 before 6.76.0 contains a privilege escalation vulnerability that allows Administrators and import-capable integrations to cCVE-2026-1403975.3Ghost from 6.62.0 before 6.72.0 contains an information disclosure vulnerability that allows unauthenticated attackers to enumerate member eCVE-2026-1403983.1Ghost from 5.70.0 before 6.76.0 downloads protocol-relative imported media URLs over plaintext HTTP, allowing network attackers to tamper wiCVE-2026-1403996.5Ghost from 5.26.0 before 6.76.0 contains a denial of service vulnerability in the Revue importer that keeps the Ghost process busy when procCVE-2026-14046.1The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vCVE-2026-140408.8Use after free in BrowserTag in Google Chrome prior to 150.0.7871.47 allowed an attacker who convinced a user to install a malicious extensiCVE-2026-1404005.3Ghost from 5.9.0 before 6.76.0 contains an information disclosure vulnerability that allows unauthenticated visitors to infer content of delCVE-2026-1404014.3Ghost from 4.22.2 before 6.76.0 contains an improper authorization vulnerability that allows any staff user, including Contributors, to replCVE-2026-1404024.3Ghost from 5.77.0 before 6.76.0 contains an improper authorization vulnerability that allows staff users without member access to read revenCVE-2026-1404036.5Ghost before 6.77.0 contains a denial of service vulnerability in its bundled express-hbs theme renderer, where rendering a page containing CVE-2026-1404045.3Ghost before 6.77.0 contains a brute-force protection bypass vulnerability that allows unauthenticated visitors to guess private site access
CVE-2026-140394: Medium severity, CVSS 5.4 | Vulnix