CVE-2024-39687
JavaScript vulnerability analysis and mitigation

Overview

Fedify, a TypeScript library for building federated server apps powered by ActivityPub, was found to contain a Server Side Request Forgery (SSRF) vulnerability (CVE-2024-39687). The vulnerability was discovered in versions prior to 0.9.2, 0.10.1, and 0.11.1, where the library's document loader component would make HTTP requests to @id or other resources from remote ActivityPub servers without properly validating the URLs, potentially allowing attackers to access internal network resources (GitHub Advisory).

Technical details

The vulnerability exists in the DocLoader component where the fetch API does not validate URIs to ensure they resolve to public IP addresses. When Fedify needs to retrieve an object or activity, it makes HTTP requests to the @id or other resources present within received activities. The vulnerability is rated as HIGH severity with a CVSS v3.1 score of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L). The issue is classified as CWE-918 (Server-Side Request Forgery) (GitHub Advisory, NVD).

Impact

The vulnerability could allow attackers to send requests to resources internal to the Fedify server's network. This impacts server operators as resources internal to their network may be improperly accessed or potentially exposed to the public. Additionally, downstream software using Fedify that fetches data from URIs contained within Activities or Objects may be at risk of requesting and storing non-public resources (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to Fedify version 0.9.2, 0.10.1, or 0.11.1 or later to receive the patch for this issue. The fix includes implementation of URL validation to prevent SSRF attacks by ensuring requests are only made to public IP addresses and proper HTTP/HTTPS protocols (FortiGuard, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-71319CRITICAL9.6
  • JavaScript logoJavaScript
  • @nuxt/devtools
NoYesAug 05, 2026
CVE-2026-70611MEDIUM6.9
  • JavaScript logoJavaScript
  • electron
NoYesAug 05, 2026
CVE-2026-70609MEDIUM5.7
  • JavaScript logoJavaScript
  • electron
NoYesAug 05, 2026
CVE-2026-70612MEDIUM5.4
  • JavaScript logoJavaScript
  • electron
NoYesAug 05, 2026
CVE-2026-70610MEDIUM5.4
  • JavaScript logoJavaScript
  • electron
NoYesAug 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management