High [CVE-2026-49978] Cross-site scripting vulnerability allows code execution
This high-severity Red Hat Linux advisory covers CVE-2026-49978 affecting Red Hat build of Apicurio Registry 3.3.1, Red Hat Enterprise Linux 10, Streams for Apache Kafka 3.2.1.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG.
Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.
When performing in-place sanitization, DOMPurify could fail to properly process content within shadow DOM elements attached to a `.content`.
This oversight allows an attacker to embed malicious code, such as JavaScript, which could then execute when the sanitized template is used by an application, potentially leading to unauthorized actions or information disclosure. This vulnerability in DOMPurify is rated as Important as it allows for cross-site scripting (XSS) attacks.
This could lead to unauthorized actions or information disclosure in Red Hat products that utilize DOMPurify for sanitizing untrusted HTML, MathML, or SVG. Red Hat severity: Important — CVSS 8.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N).
Weakness: CWE-79.
Affected products named by the advisory: Red Hat build of Apicurio Registry 3.3.1; Red Hat Enterprise Linux 10; Streams for Apache Kafka 3.2.1; Red Hat Advanced Cluster Security for Kubernetes 4.10; and 32 more.
- < 3.4.7
Official advisory · high-confidence parse· fetched 3 days ago·verify at source
- 3.4.7
- apicurio/apicurio-registry-ui-rhel8
- apicurio/apicurio-registry-ui-rhel9
- rh-podman-desktop-0:1.1.2-1.el10_2
- dompurify
- advanced-cluster-security/rhacs-main-rhel8:1785420959
- advanced-cluster-security/rhacs-main-rhel9:1785415868
- advanced-cluster-security/rhacs-main-rhel8:1785413210
- ansible-automation-platform/automation-portal:1784622951
- container-native-virtualization/kubevirt-console-plugin:1784710594
- container-native-virtualization/kubevirt-console-plugin-rhel9:1786327570
- container-native-virtualization/kubevirt-console-plugin-rhel9:1784741686
- container-native-virtualization/kubevirt-console-plugin-rhel9:1786328346
- container-native-virtualization/kubevirt-console-plugin-rhel9:1784805322
- container-native-virtualization/kubevirt-console-plugin-rhel9:1784634128
- rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:1785333413
- rhdh/rhdh-hub-rhel9:1785411652
- rhdh/rhdh-hub-rhel9:1785972843
- rhoai/odh-dashboard-rhel9:1787347991
- rhoai/odh-mod-arch-automl-rhel9:1787250508
- rhoai/odh-mod-arch-autorag-rhel9:1787251550
- rhoai/odh-mod-arch-gen-ai-rhel9:1786611759
- rhoai/odh-mod-arch-maas-rhel9:1787251250
- rhoai/odh-mod-arch-model-registry-rhel9:1787250617
- openshift4/ose-monitoring-plugin-rhel9:1785517933
- openshift4/ose-monitoring-plugin-rhel9:1785349166
- openshift4/ose-monitoring-plugin-rhel9:1785354128
- openshift4/ose-agent-installer-ui-rhel9:1785230147
- openshift4/ose-monitoring-plugin-rhel9:1785230041
- devspaces/code-rhel9:1787762793
- devspaces/openvsx-rhel9:1787759145
- openshift-service-mesh/kiali-ossmc-rhel9:1784824388
- openshift-service-mesh/kiali-rhel9:1784806326
- openshift-service-mesh/kiali-ossmc-rhel9:1784824894
- openshift-service-mesh/kiali-rhel9:1784806708
- RHSA-2026:59360
- RHSA-2026:57590
- RHSA-2026:54435
- RHSA-2026:48913
- RHSA-2026:48891
- RHSA-2026:48872
- RHSA-2026:42815
- RHSA-2026:46623
- RHSA-2026:53735
- RHSA-2026:46539
- RHSA-2026:53840
- RHSA-2026:46558
- RHSA-2026:43625
- RHSA-2026:48126
- RHSA-2026:49642
Official advisory · high-confidence parse· fetched 3 days ago·verify at source
Mitigation
Upgrade to a fixed release: 3.4.7, apicurio/apicurio-registry-ui-rhel8, apicurio/apicurio-registry-ui-rhel9, rh-podman-desktop-0:1.1.2-1.el10_2, dompurify, advanced-cluster-security/rhacs-main-rhel8:1785420959. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 3 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.