Skip to content

CVE-2025-68475 Fedify has ReDoS Vulnerability in HTML Parsing Regex

HighCVSS 7.5 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
@fedify fedify < 1.6.13; >= 1.7.0, < 1.7.14; >= 1.8.1, < 1.8.15; >= 1.9.0, < 1.9.2 1.6.13, 1.7.14, 1.8.15, 1.9.2 Fixed
@fedify fedify(npm) < 1.6.13; >= 1.7.0, < 1.7.14; >= 1.8.0, < 1.8.15; >= 1.9.0, < 1.9.2 1.6.13, 1.7.14, 1.8.15, 1.9.2 Fixed
fedify-dev fedify = < 1.6.13; = >= 1.7.0, < 1.7.14; = >= 1.8.0, < 1.8.15; = >= 1.9.0, < 1.9.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
@fedify fedify(npm) < 1.6.13 1.6.13
@fedify fedify(npm) >= 1.7.0, < 1.7.14 1.7.14
@fedify fedify(npm) >= 1.8.0, < 1.8.15 1.8.15
@fedify fedify(npm) >= 1.9.0, < 1.9.2 1.9.2
fedify-dev fedify = < 1.6.13 No fix listed
fedify-dev fedify = >= 1.7.0, < 1.7.14 No fix listed
fedify-dev fedify = >= 1.8.0, < 1.8.15 No fix listed
fedify-dev fedify = >= 1.9.0, < 1.9.2 No fix listed
@fedify fedify < 1.6.13 1.6.13
@fedify fedify >= 1.7.0, < 1.7.14 1.7.14
@fedify fedify >= 1.8.1, < 1.8.15 1.8.15
@fedify fedify >= 1.9.0, < 1.9.2 1.9.2

References