{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48050 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-48050 is a high-severity path traversal vulnerability in Cure53 DOMPurify, published on 15 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48050 and fix it if it is affected.\n\nWhat it is: CVE-2025-48050 is a high-severity path traversal vulnerability in Cure53 DOMPurify, published on 15 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-48050 exists.\n\nAffected product: Cure53 DOMPurify. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-48050/ (Markdown: https://insights.sbomify.com/CVE-2025-48050/index.md)","id":"CVE-2025-48050","markdown":"https://insights.sbomify.com/CVE-2025-48050/index.md","name":"CVE-2025-48050","record":{"aliases":["DEBIAN-CVE-2025-48050","GHSA-5h64-37wc-rj27","UBUNTU-CVE-2025-48050"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript sanitization library","requires_auth":"none","summary":"A path traversal vulnerability in DOMPurify's development server script allows reading files outside the working directory if manually started.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"}],"description":"In DOMPurify through 3.2.5 before 6bc6d60, scripts/server.js does not ensure that a pathname is located under the current working directory. NOTE: the Supplier disputes the significance of this report because the \"Uncontrolled data used in path expression\" occurs \"in a development helper script which starts a local web server if needed and must be manually started.\"","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in DOMPurify","id":"CVE-2025-48050","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Cross-site scripting in Lila","id":"CVE-2025-48051"},"packages":[],"prev":{"headline":"MICI Network Co. Ltd. NetFax Server Command Injection","id":"CVE-2025-48047"},"products":["DOMPurify"],"published":"2025-05-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2025-05-16","vendors":["Cure53"]},"summary":"A path traversal vulnerability in DOMPurify's development server script allows reading files outside the working directory if manually started.","url":"https://insights.sbomify.com/CVE-2025-48050/"}