Advisory record · GHSA-g2gp-3wwq-f4ph

league/commonmark: Denial of service via adjacent inline attribute blocks

CVSS 7.5 High

Published by the GitHub Advisory Database at 6 Aug 2026, 20:39 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
league/commonmarkPackagist>=1.5.0, <2.9.02.9.0
Identifiers
GHSA-g2gp-3wwq-f4ph · PKSA-mc58-w91n-f5gv
Weakness (CWE)
CWE-407
Published
6 Aug 2026
Updated
6 Aug 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

League/commonmark versions from 1.5.0 before 2.9.0 are affected by a denial of service in the Attributes extension, where a run of adjacent inline attribute blocks at the start of a block takes quadratic time to process. An unauthenticated attacker who can submit input to a site using the extension can cause very high CPU use with a small input of about 32 KB. Upgrade to league/commonmark 2.9.0. If upgrading is not possible, disable the Attributes extension for untrusted input or enforce a small maximum input length before conversion.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 3 Aug 2026, 14:16 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 14:24 UTC First seen by agentprime
  3. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.