Skip to main content
EPSS 0.6%top 53%

CVE-2026-44990: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms sanitize-html

0
Critical
Published: 06/12/2026 (06/12/2026, 20:39:47 UTC)
Source: GCVE Database
Vendor/Project: apostrophecms
Product: sanitize-html

Description

ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Under the default configuration, versions of `sanitize-html` prior to 2.17.4 can turn attacker-controlled content inside a disallowed `xmp` element into live HTML or JavaScript. This is a sanitizer bypass in the default `disallowedTagsMode: 'discard'` path and can lead to stored XSS in applications that render sanitized output back to users. Version 2.17.4 patches the issue.

CVSS v3.1

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected software

Affected versions
<2.17.4Red HatRed Hat Container Native VirtualizationRed Hat Container Native Virtualization 4.2amd64registry.redhat.io/container-native-virtualization/kubevirt-console-plugin-rhel9@sha256:2ab73f1637a834299e0513415cf7c082307a691d185b361fafba16dd798edd45_amd64Red Hat Container Native Virtualization 4.19registry.redhat.io/container-native-virtualization/kubevirt-console-plugin-rhel9@sha256:ec0830c6ab600e557a1acfb9cf47a66183baf25f812b869672f7a3e3746e7a8a_amd64< 2.17.4Red Hat Container Native Virtualization 4.20

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 19:58:29 UTC

Technical Analysis

The sanitize-html library used by ApostropheCMS has a sanitizer bypass vulnerability (CWE-79) in versions before 2.17.4. Under the default configuration with disallowedTagsMode set to 'discard', malicious content embedded within a disallowed xmp element can be rendered as executable HTML or JavaScript. This results in stored cross-site scripting that can execute arbitrary code or disclose information when the sanitized output is rendered to users. Red Hat products using this library are affected. The vulnerability is addressed in sanitize-html version 2.17.4.

Potential Impact

Successful exploitation allows attackers to execute arbitrary code or disclose sensitive information via stored XSS when users view the malicious content. This can compromise user confidentiality and integrity, potentially leading to account compromise or unauthorized actions performed in the context of the affected application. The vulnerability has a CVSS v3.1 score of 9.3 (critical), indicating high impact with network attack vector, low complexity, no privileges required, and user interaction required.

Mitigation Recommendations

A fix is available in sanitize-html version 2.17.4. Users and vendors should upgrade to version 2.17.4 or later to remediate this vulnerability. Red Hat advisories indicate that no alternative mitigations meet their criteria, so applying the official patch is the recommended action.

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:46685
Cve Count
1
State
PUBLISHED

Threat ID: 6a69402b9c2644c7f8669e14

Added to database: 07/28/2026, 23:50:03 UTC

Last enriched: 08/13/2026, 19:58:29 UTC

Last updated: 09/12/2026, 22:01:34 UTC

Views: 44

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