{"answers":{"affected":"2 open source packages ship an affected version, including webpack. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28154 in the wild and no public exploit code.","fix":"Upgrade webpack to 5.76.0 or later.","what":"CVE-2023-28154 is a critical vulnerability in n/a, published on 13 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-28154 and fix it if it is affected.\n\nWhat it is: CVE-2023-28154 is a critical vulnerability in n/a, published on 13 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-28154 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- webpack (npm): affected from 5.0.0; fixed in 5.76.0\n- webpack (npm): affected from 5.0.0; fixed in 5.76.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-28154/ (Markdown: https://insights.sbomify.com/CVE-2023-28154/index.md)","id":"CVE-2023-28154","markdown":"https://insights.sbomify.com/CVE-2023-28154/index.md","name":"CVE-2023-28154","record":{"aliases":["ALSA-2023:1591","DEBIAN-CVE-2023-28154","GHSA-hc6q-2mpp-qw7j","RHSA-2023:1591","RLSA-2023:1591","ROOT-APP-NPM-CVE-2023-28154","UBUNTU-CVE-2023-28154","openSUSE-SU-2024:12803-1","openSUSE-SU-2024:12979-1","openSUSE-SU-2024:14106-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Webpack build tool","requires_auth":"none","summary":"An attacker controlling an untrusted object property can access the real global object in Webpack, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"webpack","vendor":"webpack.js"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.","ecosystems":["AlmaLinux:9","Red Hat:enterprise_linux:9::highavailability","Red Hat:enterprise_linux:9::resilientstorage","Rocky Linux:9","npm","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-realm object access in Webpack 5","id":"CVE-2023-28154","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2023"},"n_packages":12,"n_references":5,"next":{"headline":"Server-Side Request Forgery in Request","id":"CVE-2023-28155"},"packages":[{"ecosystem":"npm","fixed":["5.76.0"],"introduced":["5.0.0"],"last_affected":[],"package":"webpack","purl":null,"source":"GHSA-hc6q-2mpp-qw7j"},{"ecosystem":"npm","fixed":["5.76.0"],"introduced":["5.0.0"],"last_affected":[],"package":"webpack","purl":"pkg:npm/webpack","source":"GHSA-hc6q-2mpp-qw7j"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2023:1591"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2023:1591"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2023:1591"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2023:1591"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2023:1591"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2023:1591"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.11.3-4.el9_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/rocky-linux/pcs?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2023:1591"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["9+52-1.1"],"introduced":["0"],"last_affected":[],"package":"agama-web-ui","purl":"pkg:rpm/opensuse/agama-web-ui\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14106-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.1+0-1.1"],"introduced":["0"],"last_affected":[],"package":"cockpit-agama","purl":"pkg:rpm/opensuse/cockpit-agama\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12979-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.8.1~1-5.1"],"introduced":["0"],"last_affected":[],"package":"cockpit-d-installer","purl":"pkg:rpm/opensuse/cockpit-d-installer\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12803-1"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2023-28153"},"products":["n/a"],"published":"2023-03-13","related":[{"cvss_score":6.4,"headline":"DOM Clobbering Gadget found in Webpack's AutoPublicPathRuntimeModule that leads to Cross-site Scripting (XSS)","id":"CVE-2024-43788","kev_date_added":null,"published":"2024-08-27"},{"cvss_score":3.7,"headline":"webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects","id":"CVE-2025-68157","kev_date_added":null,"published":"2026-02-05"},{"cvss_score":3.7,"headline":"webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior","id":"CVE-2025-68458","kev_date_added":null,"published":"2026-02-05"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-27","vendors":["n/a"]},"summary":"An attacker controlling an untrusted object property can access the real global object in Webpack, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2023-28154/"}