Skip to content
OpenAdvisories
High · 7.5 CVE-2025-68475 EUVD-2025-204741GHSA-rchf-xwx2-hm93

Fedify has ReDoS Vulnerability in HTML Parsing Regex

Published Dec 22, 2025 · Updated Dec 22, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
fedify-dev fedify < 1.6.13, >= 1.7.0, < 1.7.14, >= 1.8.0, < 1.8.15, >= 1.9.0, < 1.9.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @fedify/fedify < 1.6.13 1.6.13 GHSA-rchf-xwx2-hm93
npm @fedify/fedify >= 1.7.0, < 1.7.14 1.7.14 GHSA-rchf-xwx2-hm93
npm @fedify/fedify >= 1.8.0, < 1.8.15 1.8.15 GHSA-rchf-xwx2-hm93
npm @fedify/fedify >= 1.9.0, < 1.9.2 1.9.2 GHSA-rchf-xwx2-hm93

References