{"answers":{"affected":"8 open source packages ship an affected version, including @fedify/fedify.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-23221 exists.","fix":"Upgrade @fedify/fedify to a fixed version for your release line: 1.0.14, 1.1.11, 1.2.11 or 1.3.4.","what":"CVE-2025-23221 is a medium-severity server-side request forgery vulnerability in dahlia fedify, published on 20 Jan 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-23221 and fix it if it is affected.\n\nWhat it is: CVE-2025-23221 is a medium-severity server-side request forgery vulnerability in dahlia fedify, published on 20 Jan 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-23221 exists.\n\nAffected packages and fixed versions:\n- @fedify/fedify (npm): affected from 1.0.13; fixed in 1.0.14\n- @fedify/fedify (npm): affected from 1.0.13; fixed in 1.0.14\n- @fedify/fedify (npm): affected from 1.1.10; fixed in 1.1.11\n- @fedify/fedify (npm): affected from 1.1.10; fixed in 1.1.11\n- @fedify/fedify (npm): affected from 1.2.10; fixed in 1.2.11\n- @fedify/fedify (npm): affected from 1.2.10; fixed in 1.2.11\n- @fedify/fedify (npm): affected from 1.3.3; fixed in 1.3.4\n- @fedify/fedify (npm): affected from 1.3.3; fixed in 1.3.4\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-23221/ (Markdown: https://insights.sbomify.com/CVE-2025-23221/index.md)","id":"CVE-2025-23221","markdown":"https://insights.sbomify.com/CVE-2025-23221/index.md","name":"CVE-2025-23221","record":{"aliases":["GHSA-c59p-wq67-24wx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Fedify TypeScript library","requires_auth":"none","summary":"Attackers can trigger infinite loops causing denial of service and perform blind SSRF attacks via the Webfinger mechanism in Fedify.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"Fedify is a TypeScript library for building federated server apps powered by ActivityPub and other standards. This vulnerability allows a user to maneuver the Webfinger mechanism to perform a GET request to any internal resource on any Host, Port, URL combination regardless of present security mechanisms, and forcing the victim’s server into an infinite loop causing Denial of Service. Moreover, this issue can also be maneuvered into performing a Blind SSRF attack. This vulnerability is fixed in 1.0.14, 1.1.11, 1.2.11, and 1.3.4.","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":"Fedify has an Infinite loop and Blind SSRF found inside the Webfinger mechanism","id":"CVE-2025-23221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":8,"n_references":4,"next":{"headline":"Privilege escalation in dde-api-proxy","id":"CVE-2025-23222"},"packages":[{"ecosystem":"npm","fixed":["1.0.14"],"introduced":["1.0.13"],"last_affected":[],"package":"@fedify/fedify","purl":null,"source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.0.14"],"introduced":["1.0.13"],"last_affected":[],"package":"@fedify/fedify","purl":"pkg:npm/%40fedify/fedify","source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.1.11"],"introduced":["1.1.10"],"last_affected":[],"package":"@fedify/fedify","purl":null,"source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.1.11"],"introduced":["1.1.10"],"last_affected":[],"package":"@fedify/fedify","purl":"pkg:npm/%40fedify/fedify","source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.2.11"],"introduced":["1.2.10"],"last_affected":[],"package":"@fedify/fedify","purl":null,"source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.2.11"],"introduced":["1.2.10"],"last_affected":[],"package":"@fedify/fedify","purl":"pkg:npm/%40fedify/fedify","source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.3.4"],"introduced":["1.3.3"],"last_affected":[],"package":"@fedify/fedify","purl":null,"source":"GHSA-c59p-wq67-24wx"},{"ecosystem":"npm","fixed":["1.3.4"],"introduced":["1.3.3"],"last_affected":[],"package":"@fedify/fedify","purl":"pkg:npm/%40fedify/fedify","source":"GHSA-c59p-wq67-24wx"}],"prev":{"headline":"WeGIA has a SQL Injection endpoint 'adicionar_raca.php' parameter 'raca'","id":"CVE-2025-23220"},"products":["fedify"],"published":"2025-01-20","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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-21","vendors":["dahlia"]},"summary":"Attackers can trigger infinite loops causing denial of service and perform blind SSRF attacks via the Webfinger mechanism in Fedify.","url":"https://insights.sbomify.com/CVE-2025-23221/"}