Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @fedify/fedify
  4. ›
  5. CVE-2025-68475

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

December 22, 2025 (updated December 23, 2025)

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.

An attacker-controlled federated server can respond with a small (~170 bytes) malicious HTML payload that blocks the victim’s Node.js event loop for 14+ seconds, causing a Denial of Service.

FieldValue
CWECWE-1333 (Inefficient Regular Expression Complexity)

References

  • github.com/advisories/GHSA-rchf-xwx2-hm93
  • github.com/fedify-dev/fedify
  • github.com/fedify-dev/fedify/commit/2bdcb24d7d6d5886e0214ed504b63a6dc5488779
  • github.com/fedify-dev/fedify/commit/bf2f0783634efed2663d1b187dc55461ee1f987a
  • github.com/fedify-dev/fedify/releases/tag/1.6.13
  • github.com/fedify-dev/fedify/releases/tag/1.7.14
  • github.com/fedify-dev/fedify/releases/tag/1.8.15
  • github.com/fedify-dev/fedify/releases/tag/1.9.2
  • github.com/fedify-dev/fedify/security/advisories/GHSA-rchf-xwx2-hm93
  • nvd.nist.gov/vuln/detail/CVE-2025-68475

Code Behaviors & Features

Detect and mitigate CVE-2025-68475 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.6.13, all versions starting from 1.7.0 before 1.7.14, all versions starting from 1.8.0 before 1.8.15, all versions starting from 1.9.0 before 1.9.2

Fixed versions

  • 1.6.13
  • 1.7.14
  • 1.8.15
  • 1.9.2

Solution

Upgrade to versions 1.6.13, 1.7.14, 1.8.15, 1.9.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/@fedify/fedify/CVE-2025-68475.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:56 +0000.