CVE-2025-68475

Fedify has ReDoS Vulnerability in HTML Parsing Regex

State
Published
Severity
7.5 High
Published
Dec 22, 2025
Updated
Dec 22, 2025
Reserved
Dec 18, 2025

Read the record on cve.org

Description

Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2, a Regular Expression Denial of Service (ReDoS) vulnerability exists in Fedify's document loader. The HTML parsing regex at packages/fedify/src/runtime/docloader.ts:259 contains nested quantifiers that cause catastrophic backtracking when processing maliciously crafted HTML responses. This issue has been patched in versions 1.6.13, 1.7.14, 1.8.15, and 1.9.2.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity

Affected Products

ProductVersions
fedifyfedify-dev
  • < 1.6.13Affected
  • >= 1.7.0, < 1.7.14Affected
  • >= 1.8.0, < 1.8.15Affected
  • >= 1.9.0, < 1.9.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.