Skip to main content

Inefficient Regular Expression Complexity

CVE-2025-68475

Severity High
Score 7.5/10

Summary

Fedify is a TypeScript library for building federated server apps powered by ActivityPub. Prior to versions 1.6.13, 1.7.x prior to 1.7.14, 1.8.x prior to 1.8.15, and 1.9.x prior to 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published