CVE-2025-68475
CVE-2025-68475 · Fedify has ReDoS Vulnerability in HTML Parsing Regex
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
fedify
- Versions
- < 1.6.13: Affected
- >= 1.7.0, < 1.7.14: Affected
- >= 1.8.0, < 1.8.15: Affected
- >= 1.9.0, < 1.9.2: Affected
No fix published
@fedify/fedify npm
- Affected ranges
- SEMVER: < 1.6.13
Update to 1.6.13
@fedify/fedify npm
- Affected ranges
- SEMVER: ≥ 1.7.0, < 1.7.14
Update to 1.7.14
@fedify/fedify npm
- Affected ranges
- SEMVER: ≥ 1.8.0, < 1.8.15
Update to 1.8.15
@fedify/fedify npm
- Affected ranges
- SEMVER: ≥ 1.9.0, < 1.9.2
Update to 1.9.2
Original 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
- https://nvd.nist.gov/vuln/detail/CVE-2025-68475