CVE-2024-43788
Public on
Last Modified:
Description
A DOM Clobbering vulnerability was found in Webpack via AutoPublicPathRuntimeModule. DOM Clobbering is a type of code-reuse attack where the attacker first embeds a piece of non-script through seemingly benign HTML markups in the webpage, for example, through a post or comment, and leverages the gadgets (pieces of JS code) living in the existing javascript code to transform it into executable code. This vulnerability can lead to Cross-site scripting (XSS) on websites that include Webpack-generated files and allow users to inject certain scriptless HTML tags with improperly sanitized name or ID attributes.
Statement
The severity of this issue is classified as moderate rather than important due to the specific conditions required for exploitation. DOM Clobbering, while serious, can only be leveraged in environments where an attacker has the ability to inject unsanitized HTML attributes (e.g., name or id) into a web page. This limits the attack surface to applications that improperly sanitize user input and rely on Webpack-generated files. Furthermore, the exploitation depends on existing vulnerabilities in the sanitization process, rather than the direct execution of arbitrary scripts. As a result, while the issue can lead to XSS, its impact is constrained by the contextual requirement of HTML injection, lowering its overall severity compared to more direct XSS vectors.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Additional Information
- This content is not included.Bugzilla 2308193: webpack: DOM Clobbering vulnerability in AutoPublicPathRuntimeModule
- Content from cwe.mitre.org is not included.CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- FAQ: Frequently asked questions about CVE-2024-43788
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2024-43788
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2024-43788
Content from scnps.co is not included.https://scnps.co/papers/sp23_domclob.pdf
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-db-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-grafana-dashboard-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-operator-bundle | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-reports-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-rhel8-operator | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-storage-rhel8 | Fixed | RHSA-2024:7706 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/jfr-datasource-rhel8 | Fixed | RHSA-2024:7706 |
| Discovery 1 for RHEL 9 | discovery/discovery-server-rhel9 | Fixed | RHSA-2025:1249 |
| Discovery 1 for RHEL 9 | discovery/discovery-ui-rhel9 | Fixed | RHSA-2025:1249 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel8 | Fix deferred | |
| Migration Toolkit for Applications 7 | mta/mta-ui-rhel9 | Will not fix | |
| Migration Toolkit for Runtimes | webpack | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel8 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/multicluster-engine-console-mce-rhel8 | Not affected | |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-cli-rhel9 | Fixed | RHSA-2024:8014 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-console-plugin-rhel9 | Fixed | RHSA-2024:8014 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-ebpf-agent-rhel9 | Fixed | RHSA-2024:8014 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-flowlogs-pipeline-rhel9 | Fixed | RHSA-2024:8014 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-operator-bundle | Fixed | RHSA-2024:8014 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-rhel9-operator | Fixed | RHSA-2024:8014 |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Affected | |
| OpenShift Lightspeed | openshift-lightspeed-beta/lightspeed-console-plugin-rhel9 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Will not fix | |
| RHODF-4.14-RHEL-9 | odf4/odf-console-rhel9 | Fixed | RHSA-2025:0323 |
| RHODF-4.16-RHEL-9 | odf4/odf-console-rhel9 | Fixed | RHSA-2024:8113 |
| RHODF-4.17-RHEL-9 | odf4/odf-console-rhel9 | Fixed | RHSA-2024:8676 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-data-index-ephemeral-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-data-index-postgresql-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-jobs-service-ephemeral-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-jobs-service-postgresql-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-kn-workflow-cli-artifacts-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-management-console-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-operator-bundle | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-rhel8-operator | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-swf-builder-rhel8 | Fixed | RHSA-2024:8023 |
| RHOSS-1.34-RHEL-8 | openshift-serverless-1/logic-swf-devmode-rhel8 | Fixed | RHSA-2024:8023 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-system-container | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Not affected | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Will not fix | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Not affected | |
| Red Hat Ansible Automation Platform 2 | aap-cloud-ui-container | Will not fix | |
| Red Hat Certification for Red Hat Enterprise Linux 7 | redhat-certification | Will not fix | |
| Red Hat Data Grid | webpack | Fixed | RHSA-2024:10214 |
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Will not fix | |
| Red Hat Enterprise Linux 10 | grafana | Not affected | |
| Red Hat Enterprise Linux 10 | js-d3-flame-graph | Not affected | |
| Red Hat Enterprise Linux 10 | pcs | Not affected | |
| Red Hat Enterprise Linux 6 | firefox | Will not fix | |
| Red Hat Enterprise Linux 6 | thunderbird | Will not fix | |
| Red Hat Enterprise Linux 7 | thunderbird | Will not fix | |
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | |
| Red Hat Enterprise Linux 8 | js-d3-flame-graph | Will not fix | |
| Red Hat Enterprise Linux 9 | gjs | Not affected | |
| Red Hat Enterprise Linux 9 | grafana | Not affected | |
| Red Hat Enterprise Linux 9 | pcs | Not affected | |
| Red Hat Enterprise Linux 9 | polkit | Not affected | |
| Red Hat Enterprise Linux 9 | js-d3-flame-graph | Will not fix | |
| Red Hat Fuse 7 | webpack | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 7 | webpack | Not affected | |
| Red Hat JBoss Enterprise Application Platform 8 | webpack | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | webpack | Not affected | |
| Red Hat Migration Toolkit for Containers 1.8 | rhmtc/openshift-migration-ui-rhel8 | Fixed | RHSA-2024:10906 |
| Red Hat OpenShift AI (RHOAI) | odh-operator-container | Not affected | |
| Red Hat OpenShift AI (RHOAI) | odh-dashboard-container | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | openshift3/ose-console | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-console | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-monitoring-plugin-rhel9 | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/nmstate-console-plugin-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-networking-console-plugin-rhel9 | Fix deferred | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-dashboard-rhel8 | Fix deferred | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-operator-rhel8 | Not affected | |
| Red Hat OpenShift Data Science (RHODS) | rhods/odh-rhel8-operator | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/console-plugin-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argo-rollouts-rhel8 | Will not fix | |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/grafana-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/istio-cni-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/istio-must-gather-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/pilot-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/proxyv2-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.4 for RHEL 8 | openshift-service-mesh/ratelimit-rhel8 | Fixed | RHSA-2024:7724 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/grafana-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/istio-cni-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/istio-must-gather-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/kiali-ossmc-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/pilot-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/proxyv2-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.5 for RHEL 8 | openshift-service-mesh/ratelimit-rhel8 | Fixed | RHSA-2024:7725 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/grafana-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-cni-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-must-gather-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/istio-rhel8-operator | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-ossmc-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/kiali-rhel8-operator | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/pilot-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 8 | openshift-service-mesh/ratelimit-rhel8 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Service Mesh 2.6 for RHEL 9 | openshift-service-mesh/proxyv2-rhel9 | Fixed | RHSA-2024:7726 |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/kubevirt-console-plugin-rhel9 | Affected | |
| Red Hat OpenShift distributed tracing 3 | rhosdt/jaeger-agent-rhel8 | Will not fix | |
| Red Hat Process Automation 7 | webpack | Will not fix | |
| Red Hat Satellite 6 | nodejs-webpack | Fix deferred | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Affected | |
| Red Hat build of Apache Camel - HawtIO 4 | webpack | Affected | |
| Red Hat build of OptaPlanner 8 | webpack | Will not fix |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 6.1 | 6.1 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | Required | Required |
| Scope | Changed | Changed |
| Confidentiality Impact | Low | Low |
| Integrity Impact | Low | Low |
| Availability Impact | None | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
Not sure what something means? Check out our Security Glossary.