{"answers":{"affected":"2 open source packages ship an affected version, including radashi.","exploited":"There is no known exploitation of CVE-2025-48054 in the wild and no public exploit code.","fix":"Upgrade radashi to 12.5.1 or later.","what":"CVE-2025-48054 is a medium-severity code injection vulnerability in radashi-org radashi, published on 27 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-48054 and fix it if it is affected.\n\nWhat it is: CVE-2025-48054 is a medium-severity code injection vulnerability in radashi-org radashi, published on 27 May 2025. 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-2025-48054 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- radashi (npm): affected all versions; fixed in 12.5.1\n- radashi (npm): affected all versions; fixed in 12.5.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-48054/ (Markdown: https://insights.sbomify.com/CVE-2025-48054/index.md)","id":"CVE-2025-48054","markdown":"https://insights.sbomify.com/CVE-2025-48054/index.md","name":"CVE-2025-48054","record":{"aliases":["GHSA-2xv9-ghh9-xc69"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"TypeScript utility library","requires_auth":"none","summary":"Attackers can achieve remote code execution or denial of service via prototype pollution in the set function of the Radashi library.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Radashi is a TypeScript utility toolkit. Prior to version 12.5.1, the set function within the Radashi library is vulnerable to prototype pollution. If an attacker can control parts of the path argument to the set function, they could potentially modify the prototype of all objects in the JavaScript runtime, leading to unexpected behavior, denial of service, or even remote code execution in some specific scenarios. This issue has been patched in version 12.5.1. A workaround for this issue involves sanitizing the path argument provided to the set function to ensure that no part of the path string is __proto__, prototype, or constructor.","ecosystems":["npm"],"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":"Radashi Vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","id":"CVE-2025-48054","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Combodo iTop has stored XSS in user portal's browse brick","id":"CVE-2025-48055"},"packages":[{"ecosystem":"npm","fixed":["12.5.1"],"introduced":["0"],"last_affected":[],"package":"radashi","purl":null,"source":"GHSA-2xv9-ghh9-xc69"},{"ecosystem":"npm","fixed":["12.5.1"],"introduced":["0"],"last_affected":[],"package":"radashi","purl":"pkg:npm/radashi","source":"GHSA-2xv9-ghh9-xc69"}],"prev":{"headline":"Discourse vulnerable to DoS via large URL payload in PM to a bot","id":"CVE-2025-48053"},"products":["radashi"],"published":"2025-05-27","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-27","vendors":["radashi-org"]},"summary":"Attackers can achieve remote code execution or denial of service via prototype pollution in the set function of the Radashi library.","url":"https://insights.sbomify.com/CVE-2025-48054/"}