← Übersicht Red Hat Enterprise Linux

ApostropheCMS: sanitize-html allowedTags Bypass via Entity-Decoded Text in nonTextTags Elements

CVE-2026-40186 · GHSA-9mrh-v2v3-xpfm

Mittel · CVSS 6.1 SUSE: moderateRed Hat: Moderate Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
15.04.2026
Zuletzt geändert
31.08.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

ApostropheCMS is an open-source Node.js content management system. A regression introduced in commit 49d0bb7, included in versions 2.17.1 of the ApostropheCMS-maintained sanitize-html package bypasses allowedTags enforcement for text inside nonTextTagsArray elements (textarea and option). ApostropheCMS version 4.28.0 is affected through its dependency on the vulnerable sanitize-html version. The code at packages/sanitize-html/index.js:569-573 incorrectly assumes that htmlparser2 does not decode entities inside these elements and skips escaping, but htmlparser2 10.x does decode entities before passing text to the ontext callback. As a result, entity-encoded HTML is decoded by the parser and then written directly to the output as literal HTML characters, completely bypassing the allowedTags filter. An attacker can inject arbitrary tags including XSS payloads through any allowed option or textarea element using entity encoding. This affects non-default configurations where option or textarea are included in allowedTags, which is common in form builders and CMS platforms. This issue has been fixed in version 2.17.2 of sanitize-html and 4.29.0 of ApostropheCMS.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 9 betroffen, 46 nicht betroffen.

Multicluster Engine for Kubernetes BetroffenFix zurückgestellt multicluster-engine/console-mce-rhel9
Red Hat Advanced Cluster Management for Kubernetes 2 BetroffenFix zurückgestellt rhacm2/console-rhel9
Red Hat OpenShift AI (RHOAI) BetroffenFix zurückgestellt rhoai/odh-mlflow-rhel9
Red Hat OpenShift Container Platform 4 BetroffenFix zurückgestellt openshift4/ose-agent-installer-ui-rhel9, openshift4/ose-console, openshift4/ose-console-rhel9
Red Hat OpenShift Container Platform 5 BetroffenFix zurückgestellt openshift5/ose-agent-installer-ui-rhel9, openshift5/ose-console-rhel9
Red Hat OpenShift Dev Spaces Betroffenaußerhalb des Supports devspaces/dashboard-rhel9
Red Hat OpenShift Virtualization 4 BetroffenFix zurückgestellt container-native-virtualization/kubevirt-console-plugin-rhel9
Red Hat Quay 3 BetroffenFix zurückgestellt quay/quay-rhel8, quay/quay-rhel9
Red Hat Satellite 6 BetroffenFix zurückgestellt nodejs-sanitize-html, satellite/iop-advisor-frontend-rhel9, satellite/iop-host-inventory-frontend-rhel9, satellite/iop-vulnerability-frontend-rhel9
Nicht betroffen (46)
SUSE Linux Enterprise High Performance Computing 12 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise High Performance Computing 15 SP1Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise High Performance Computing 15 SP2Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise High Performance Computing 15 SP3Nicht betroffennodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise High Performance Computing 15 SP4Nicht betroffennodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSNicht betroffennodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise High Performance Computing 15 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSNicht betroffennodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Micro 5.3Nicht betroffencockpit, cockpit-bridge, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws
SUSE Linux Enterprise Micro 5.4Nicht betroffencockpit, cockpit-bridge, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws
SUSE Linux Enterprise Micro 5.5Nicht betroffencockpit, cockpit-bridge, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws
SUSE Linux Enterprise Module for Package Hub 15 SP7Nicht betroffengolang-github-prometheus-prometheus
SUSE Linux Enterprise Module for Web and Scripting 15 SP7Nicht betroffennodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Enterprise Server 12 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server 12 SP5-LTSSNicht betroffennodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server 15 SP1Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server 15 SP1-LTSSNicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server 15 SP2Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server 15 SP2-LTSSNicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server 15 SP3Nicht betroffennodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server 15 SP3-LTSSNicht betroffennodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server 15 SP4Nicht betroffennodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server 15 SP4-LTSSNicht betroffennodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server 15 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server 15 SP5-LTSSNicht betroffennodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server 15 SP6Nicht betroffennodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22
SUSE Linux Enterprise Server 15 SP6-LTSSNicht betroffennodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22
SUSE Linux Enterprise Server 15 SP7Nicht betroffennodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Enterprise Server 16.0Nicht betroffencockpit, cockpit-bridge, cockpit-devel, cockpit-doc, cockpit-firewalld, cockpit-kdump, cockpit-machines, cockpit-networkmanager, cockpit-packagekit, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws, cockpit-ws-selinux, corepack22, corepack24, golang-github-prometheus-prometheus, nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server Teradata 15 SP4Nicht betroffennodejs16, nodejs18
SUSE Linux Enterprise Server for SAP Applications 12 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, npm18
SUSE Linux Enterprise Server for SAP Applications 15 SP1Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm8
SUSE Linux Enterprise Server for SAP Applications 15 SP2Nicht betroffennodejs10, nodejs10-devel, nodejs10-docs, nodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs8, nodejs8-devel, nodejs8-docs, npm10, npm12, npm14, npm8
SUSE Linux Enterprise Server for SAP Applications 15 SP3Nicht betroffennodejs12, nodejs12-devel, nodejs12-docs, nodejs14, nodejs14-devel, nodejs14-docs, nodejs16, nodejs16-devel, nodejs16-docs, npm12, npm14, npm16
SUSE Linux Enterprise Server for SAP Applications 15 SP4Nicht betroffennodejs16, nodejs16-devel, nodejs16-docs, nodejs18, nodejs18-devel, nodejs18-docs, npm16, npm18
SUSE Linux Enterprise Server for SAP Applications 15 SP5Nicht betroffennodejs18, nodejs18-devel, nodejs18-docs, nodejs20, nodejs20-devel, nodejs20-docs, npm18, npm20
SUSE Linux Enterprise Server for SAP Applications 15 SP6Nicht betroffennodejs20, nodejs20-devel, nodejs20-docs, nodejs22, nodejs22-devel, nodejs22-docs, npm20, npm22
SUSE Linux Enterprise Server for SAP Applications 15 SP7Nicht betroffennodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Enterprise Server for SAP applications 16.0Nicht betroffencockpit, cockpit-bridge, cockpit-devel, cockpit-doc, cockpit-firewalld, cockpit-kdump, cockpit-machines, cockpit-networkmanager, cockpit-packagekit, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws, cockpit-ws-selinux, corepack22, corepack24, golang-github-prometheus-prometheus, nodejs22, nodejs22-devel, nodejs22-docs, nodejs24, nodejs24-devel, nodejs24-docs, npm22, npm24
SUSE Linux Micro 6.0Nicht betroffencockpit, cockpit-bridge, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws
SUSE Linux Micro 6.1Nicht betroffencockpit, cockpit-bridge, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws
SUSE Linux Micro 6.2Nicht betroffencockpit, cockpit-bridge, cockpit-firewalld, cockpit-kdump, cockpit-machines, cockpit-networkmanager, cockpit-selinux, cockpit-storaged, cockpit-system, cockpit-ws, cockpit-ws-selinux
SUSE Manager Client Tools for SLE 15Nicht betroffengolang-github-prometheus-prometheus
SUSE Multi-Linux Manager Client Tools for SLE 15Nicht betroffengolang-github-prometheus-prometheus
openSUSE Leap 16.0Nicht betroffencockpit, cockpit-machines, golang-github-prometheus-prometheus, nodejs22, nodejs24

Betroffene Pakete im beobachteten Stack

Red Hat:satellite:6nodejs-sanitize-htmlkein Fix bekanntCVE-2026-40186
Weitere betroffene Pakete (5)
CVEapostrophecms/apostrophekein Fix bekanntCVE-2026-40186
CVEapostrophecms/sanitize-htmlkein Fix bekanntCVE-2026-40186
NVDapostrophecms:apostrophecmskein Fix bekanntCVE-2026-40186
NVDapostrophecms:sanitize-htmlkein Fix bekanntCVE-2026-40186
npmsanitize-html2.17.2 → 2.17.3GHSA-9mrh-v2v3-xpfm

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.