CVE-2025-68475
7.5Fedify · Fedify
A Regular Expression Denial of Service (ReDoS) vulnerability in the Fedify document loader allows unauthenticated attackers to trigger catastrophic backtracking via malicious HTML responses.
Executive summary
A critical Regular Expression Denial of Service vulnerability in the Fedify library allows unauthenticated remote attackers to crash server applications by processing specially crafted HTML content.
Vulnerability
The flaw exists in the HTML parsing regex located at packages/fedify/src/runtime/docloader.ts, which contains nested quantifiers that cause CPU exhaustion when handling malicious input. This vulnerability is exploitable by unauthenticated attackers.
Business impact
The ability for an unauthenticated attacker to cause a denial of service can lead to significant application downtime and service unavailability. Given the CVSS score of 7.5, this high severity issue poses a direct risk to the operational continuity of any federated server relying on the Fedify library.
Remediation
Immediate Action: Update the Fedify library to version 1.6.13, 1.7.14, 1.8.15, 1.9.2, or later immediately.
Proactive Monitoring: Monitor server CPU utilization and error logs for spikes or recurring timeouts related to document loading processes.
Compensating Controls: Implement strict input validation or sanitization layers before passing external HTML content to the Fedify document loader to reduce the likelihood of malicious payloads reaching the vulnerable regex.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Organizations utilizing the Fedify library must prioritize upgrading to the patched versions listed above. Because this flaw is automatable and requires no authentication to trigger, the risk of automated service disruption is elevated. Please verify your dependency tree and apply the necessary updates as part of your next maintenance cycle to ensure system stability.
More Fedify CVEs
Sources
- https://github.com/fedify-dev/fedify/security/advisories/GHSA-rchf-xwx2-hm93
- https://github.com/fedify-dev/fedify/commit/2bdcb24d7d6d5886e0214ed504b63a6dc5488779
- https://github.com/fedify-dev/fedify/commit/bf2f0783634efed2663d1b187dc55461ee1f987a
- https://github.com/fedify-dev/fedify/releases/tag/1.6.13
- https://github.com/fedify-dev/fedify/releases/tag/1.7.14
- https://github.com/fedify-dev/fedify/releases/tag/1.8.15
- https://github.com/fedify-dev/fedify/releases/tag/1.9.2