CyberSecBulletin
CVE-2026-44990NVD status: Deferred

sanitize-html: Improper Neutralization of Input During Web Page Generation

CVE-2026-44990 is a critical-severity improper neutralization of input during web page generation vulnerability in sanitize-html from Apostrophecms, with a CVSS 3.1 base score of 9.3 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. Affected sanitize-html versions: < 2.17.4. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.68% chance of exploitation within 30 days, higher than 53% of scored CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Check which version of sanitize-html you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on github.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
Apostrophecmssanitize-html< 2.17.4Not stated
Red Hatmulticluster engine for Kubernetes 2.1Not specified in the recordNot stated
Red Hatmulticluster engine for Kubernetes 2.11Not specified in the recordNot stated
Red Hatmulticluster engine for Kubernetes 2.17Not specified in the recordNot stated
Red Hatmulticluster engine for Kubernetes 2.6Not specified in the recordNot stated
Red Hatmulticluster engine for Kubernetes 2.8Not specified in the recordNot stated
Red Hatmulticluster engine for Kubernetes 2.9Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.11Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.13Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.14Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.15Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.16Not specified in the recordNot stated
Red HatRed Hat Advanced Cluster Management for Kubernetes 2.17Not specified in the recordNot stated
Red HatRed Hat Container Native Virtualization 4.19Not specified in the recordNot stated
Red HatRed Hat Container Native Virtualization 4.20Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.20Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.21Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.22Not specified in the recordNot stated
Red HatRed Hat OpenShift Dev Spaces 3.29Not specified in the recordNot stated
Red HatRed Hat Quay 3.10Not specified in the recordNot stated
Red HatRed Hat Quay 3.12Not specified in the recordNot stated
Red HatRed Hat Quay 3.15Not specified in the recordNot stated
Red HatRed Hat Quay 3.16Not specified in the recordNot stated
Red HatRed Hat Quay 3.9Not specified in the recordNot stated
Red HatRed Hat Satellite 6.18Not specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 5 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N. Scored by CNA (github.com).

Scoring systemScoreSeverityScored by
CVSS 3.19.3CriticalCNA (github.com)
CVSS 3.18.1HighCNA

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Neutralization of Input During Web Page Generation

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

How developers prevent this class of flaw

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
  • Understand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
  • For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.

More Improper Neutralization of Input During Web Page Generation vulnerabilities (CWE-79)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Improper Neutralization of Input During Web Page Generation vulnerabilities

Spotted an error? Tell us.