Skip to main content

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

0
High
Published: 09/09/2026 (09/09/2026, 23:14:36 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

A security advisory from Red Hat addresses vulnerabilities in Red Hat Hardened Images RPMs, including a critical flaw in the Hugo static site generator. The Hugo vulnerability (CVE-2026-10618) involves improper escaping of attribute values in code-fence info strings, allowing remote attackers to inject arbitrary script code into rendered HTML, leading to stored cross-site scripting (XSS). This can result in client-side code execution when users view affected pages. The advisory provides an updated Hugo package to fix the issue and suggests configuration workarounds to mitigate risk. No active exploits are reported in the wild.

Affected software

redhat/hugo
pkg:rpm/redhat/hugo
Affected versions
=0.166.0-0.1.hum1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/27/2026, 04:39:40 UTC

Technical Analysis

The advisory covers multiple CVEs affecting Red Hat Hardened Images RPMs, notably CVE-2026-10618 in Hugo version 0.166.0-0.1.hum1. The vulnerability arises from Hugo's default fenced-code-block renderer writing unescaped attribute values from the code-fence info string into HTML. A crafted quote character can terminate an attribute and inject additional attributes, including event handlers, enabling stored cross-site scripting. This flaw is exploitable under default Hugo configurations without requiring unsafe settings or custom render hooks. The impact includes client-side arbitrary code execution for visitors of affected pages. Red Hat provides updated RPMs to remediate the issue and recommends disabling code-fence attribute support or using custom render hooks as workarounds.

Potential Impact

The vulnerability allows remote attackers to inject arbitrary script code into HTML rendered by Hugo, leading to stored cross-site scripting (XSS). This can result in execution of malicious scripts in the context of users visiting affected pages, potentially compromising user data such as cookies and session information. The flaw affects confidentiality and integrity by enabling unauthorized code execution and data disclosure. There are no reports of active exploitation in the wild. The impact is rated high due to the potential for client-side code execution and data compromise.

Mitigation Recommendations

Red Hat has released updated RPM packages including hugo-0.166.0-0.1.hum1 that fix the vulnerability. Users should apply these updates promptly. As a workaround, disable code-fence attribute support in Hugo's goldmark configuration by setting markup.highlight.codeFences to false, or implement a custom render hook that properly escapes attribute values before HTML output. No other actions are required if the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:66266
Cve Count
3
Additional Cves
["CVE-2026-10618","CVE-2026-33812"]
State
PUBLISHED

Threat ID: 6ab89bd6f7a7c54106941fde

Added to database: 09/27/2026, 04:30:14 UTC

Last enriched: 09/27/2026, 04:39:40 UTC

Last updated: 09/27/2026, 05:47:46 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses