{"answers":{"affected":"2 open source packages ship an affected version, including webpack. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68458 exists.","fix":"Upgrade webpack to 5.104.1 or later.","what":"CVE-2025-68458 is a low-severity server-side request forgery vulnerability in webpack, published on 5 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-68458 and fix it if it is affected.\n\nWhat it is: CVE-2025-68458 is a low-severity server-side request forgery vulnerability in webpack, published on 5 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-68458 exists.\n\nAffected packages and fixed versions:\n- webpack (npm): affected from 5.49.0; fixed in 5.104.1\n- webpack (npm): affected from 5.49.0; fixed in 5.104.1\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-2025-68458/ (Markdown: https://insights.sbomify.com/CVE-2025-68458/index.md)","id":"CVE-2025-68458","markdown":"https://insights.sbomify.com/CVE-2025-68458/index.md","name":"CVE-2025-68458","record":{"aliases":["CLEANSTART-2026-DS59856","CLEANSTART-2026-HJ02276","DEBIAN-CVE-2025-68458","GHSA-8fgc-7cc6-rx7x","MINI-5j58-wfhq-w9h8","MINI-6m8v-253c-r3xg","MINI-qcw6-qfgc-f46c","MINI-r345-f2fw-f2hx","MINI-xgrw-fm6r-hc28","UBUNTU-CVE-2025-68458"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript module bundler","requires_auth":"low_privilege","summary":"Attackers can bypass allow-lists in webpack's buildHttp feature to perform SSRF and inject malicious code during the build process.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"webpack","vendor":"webpack.js"}],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Webpack is a module bundler. From version 5.49.0 to before 5.104.1, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) can be bypassed to fetch resources from hosts outside allowedUris by using crafted URLs that include userinfo (username:password@host). If allowedUris enforcement relies on a raw string prefix check (e.g., uri.startsWith(allowed)), a URL that looks allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a policy/allow-list bypass that enables build-time SSRF behavior (outbound requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion (the fetched response is treated as module source and bundled). This issue has been patched in version 5.104.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"webpack buildHttp: allowedUris allow-list bypass via URL userinfo (@) leading to build-time SSRF behavior","id":"CVE-2025-68458","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Command injection in AP180(JA) V1.xx","id":"CVE-2025-68459"},"packages":[{"ecosystem":"npm","fixed":["5.104.1"],"introduced":["5.49.0"],"last_affected":[],"package":"webpack","purl":null,"source":"GHSA-8fgc-7cc6-rx7x"},{"ecosystem":"npm","fixed":["5.104.1"],"introduced":["5.49.0"],"last_affected":[],"package":"webpack","purl":"pkg:npm/webpack","source":"GHSA-8fgc-7cc6-rx7x"}],"prev":{"headline":"Orejime has executable code in HTML attributes","id":"CVE-2025-68457"},"products":["webpack"],"published":"2026-02-05","related":[{"cvss_score":9.8,"headline":"Cross-realm object access in Webpack 5","id":"CVE-2023-28154","kev_date_added":null,"published":"2023-03-13"},{"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"}],"sources":[{"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-06","vendors":["webpack"]},"summary":"Attackers can bypass allow-lists in webpack's buildHttp feature to perform SSRF and inject malicious code during the build process.","url":"https://insights.sbomify.com/CVE-2025-68458/"}