Skip to content
Heist/ feed
Back to feed
High

Fedify has ReDoS Vulnerability in HTML Parsing Regex

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-68475
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:45 UTC · Revision 1

Source evidence

Fedify has ReDoS Vulnerability in HTML Parsing Regex

core-osv · Original source

Published 22 Dec 2025, 21:31 UTC

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.

osv:CVE-2025-68475
Complete source record
{
  "id": "48d9a7f77d33d750f7e7f5d894c5969de601d54eafb30d04193db36d6f145e21",
  "url": "https://osv.dev/vulnerability/CVE-2025-68475",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fedify has ReDoS Vulnerability in HTML Parsing Regex",
    "summary": "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.",
    "evidence": "osv:CVE-2025-68475",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-68475",
      "aliases": [
        "CVE-2025-68475",
        "GHSA-rchf-xwx2-hm93"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fedify-dev/fedify",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6658a9cab3731449c0d71289d88d189c5161be9c"
                },
                {
                  "introduced": "15cd79ad03562832c4e86802d6f617df679bc27e"
                },
                {
                  "fixed": "c6d7e743c995c9fa84d74f94952eb0dfc6cb7bab"
                },
                {
                  "introduced": "24abaf2e4353b50200a930f0ca05da7ee7cd4502"
                },
                {
                  "fixed": "7955e17abfd5b208d6bd1666e41f942cb9103a8b"
                },
                {
                  "introduced": "d4ce275d7fc25eef539b0e9d5bd7a527ec949edb"
                },
                {
                  "fixed": "3114e4add0df8494a6cc6803593fb02e69135bc5"
                },
                {
                  "fixed": "2bdcb24d7d6d5886e0214ed504b63a6dc5488779"
                },
                {
                  "fixed": "bf2f0783634efed2663d1b187dc55461ee1f987a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "fixed": "1.7.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.8.1"
                      },
                      {
                        "fixed": "1.8.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:fedify:fedify:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "fixed": "1.9.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2bdcb24d7d6d5886e0214ed504b63a6dc5488779"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bf2f0783634efed2663d1b187dc55461ee1f987a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6658a9cab3731449c0d71289d88d189c5161be9c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.6.13"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c6d7e743c995c9fa84d74f94952eb0dfc6cb7bab"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.7.14"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7955e17abfd5b208d6bd1666e41f942cb9103a8b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.8.15"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3114e4add0df8494a6cc6803593fb02e69135bc5"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.9.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.9.1",
            "1.8.14",
            "1.9.0",
            "1.8.13",
            "1.8.12",
            "1.8.11",
            "1.7.13",
            "1.6.12",
            "1.8.10",
            "1.7.12",
            "1.6.11",
            "1.8.9",
            "1.8.8",
            "1.7.11",
            "1.6.10",
            "1.8.7",
            "1.7.10",
            "1.6.9",
            "1.8.6",
            "1.8.5",
            "1.7.9",
            "1.6.8",
            "1.8.4",
            "1.8.3",
            "1.8.2",
            "1.8.1",
            "1.7.8",
            "1.7.7",
            "1.7.6",
            "1.6.7",
            "1.7.5",
            "1.6.6",
            "1.7.4",
            "1.7.3",
            "1.6.5",
            "1.7.2",
            "1.6.4",
            "1.7.1",
            "1.6.3",
            "1.7.0",
            "1.6.2",
            "1.6.1",
            "1.5.0",
            "1.4.0",
            "1.3.0",
            "1.2.0",
            "1.1.0",
            "1.0.0",
            "0.15.0",
            "0.14.0",
            "0.13.0",
            "0.12.0",
            "0.11.0",
            "0.10.0",
            "0.9.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68475.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.460843526Z",
      "provider": "osv",
      "references": [
        "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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68475.json",
        "https://github.com/fedify-dev/fedify/security/advisories/GHSA-rchf-xwx2-hm93",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68475",
        "https://github.com/fedify-dev/fedify/commit/2bdcb24d7d6d5886e0214ed504b63a6dc5488779",
        "https://github.com/fedify-dev/fedify/commit/bf2f0783634efed2663d1b187dc55461ee1f987a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68475.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68475",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492823,
  "published_at": "2025-12-22T21:31:20.314+00:00"
}