Skip to content
Heist/ feed
Back to feed
Medium

mixmark-io turndown commonmark-rules.js redos

Type: advisorySources: OSV

A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-9670
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:41 UTC · Revision 1

Source evidence

mixmark-io turndown commonmark-rules.js redos

core-osv · Original source

Published 29 Aug 2025, 19:02 UTC

A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.

osv:CVE-2025-9670
Complete source record
{
  "id": "8e2425d0ce6a4bbf73b3a9b9c5f79524db496b9ee36870bf4c07b28c2c444b29",
  "url": "https://osv.dev/vulnerability/CVE-2025-9670",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mixmark-io turndown commonmark-rules.js redos",
    "summary": "A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.",
    "evidence": "osv:CVE-2025-9670",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-9670",
      "aliases": [
        "CVE-2025-9670"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mixmark-io/turndown",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cc73387fb707e5fb5e1083e94078d08f38f3abc8"
                },
                {
                  "last_affected": "0df0c0506233e0459ba21974f30b9ad3f1feb20f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "7.2.0"
                      },
                      {
                        "last_affected": "7.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "7.2.1"
                      },
                      {
                        "last_affected": "7.2.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "7.2.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.2.0",
            "7.2.1",
            "v7.2.1",
            "v7.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-9670.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.672202875Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9670.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-9670",
        "https://vuldb.com/?id.321880",
        "https://vuldb.com/?submit.637911",
        "https://github.com/mixmark-io/turndown/issues/501",
        "https://github.com/mixmark-io/turndown/issues/501#issue-3336342088",
        "https://vuldb.com/?ctiid.321880"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9670.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-9670",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506279,
  "published_at": "2025-08-29T19:02:08.787+00:00"
}