Skip to content

Bump league/commonmark from 2.10.0 to 2.10.2 - #91

Open
dependabot[bot] wants to merge 1 commit into
5.xfrom
dependabot/composer/league/commonmark-2.10.2
Open

dependabot[bot] wants to merge 1 commit into
5.xfrom
dependabot/composer/league/commonmark-2.10.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown
Contributor

Bumps league/commonmark from 2.10.0 to 2.10.2.

Release notes

Sourced from league/commonmark's releases.

2.10.2

This is a security release to address a denial of service vulnerability in the Table extension and a raw HTML filtering bypass in the DisallowedRawHtml extension.

Changed

  • Improved performance of parsing table delimiter rows and splitting table rows into cells by scanning bytes directly instead of stepping a Cursor (roughly 4x faster for delimiter rows and 6x for cell splitting, and more on multibyte rows)

Fixed

  • Fixed DisallowedRawHtmlRenderer not blocking raw HTML that ends with a disallowed tag name, such as a line containing only <script (GHSA-97jj-33gv-5xf9)
  • Fixed quadratic-time parsing of long paragraphs when the Table extension is enabled (GHSA-3q6v-r5mr-hxv8)
  • Fixed table detection to match the GFM spec and reference implementation:
    • Header rows no longer require a | character
    • Header rows must now have the same number of cells as the delimiter row (previously, fewer cells were accepted)

Full Changelog: thephpleague/commonmark@2.10.1...2.10.2

2.10.1

What's Changed

New Contributors

Full Changelog: thephpleague/commonmark@2.10.0...2.10.1

Changelog

Sourced from league/commonmark's changelog.

[2.10.2] - 2026-09-21

This is a security release to address a denial of service vulnerability in the Table extension and a raw HTML filtering bypass in the DisallowedRawHtml extension.

Changed

  • Improved performance of parsing table delimiter rows and splitting table rows into cells by scanning bytes directly instead of stepping a Cursor (roughly 4x faster for delimiter rows and 6x for cell splitting, and more on multibyte rows)

Fixed

  • Fixed DisallowedRawHtmlRenderer not blocking raw HTML that ends with a disallowed tag name, such as a line containing only <script (GHSA-97jj-33gv-5xf9)
  • Fixed quadratic-time parsing of long paragraphs when the Table extension is enabled (GHSA-3q6v-r5mr-hxv8)
  • Fixed table detection to match the GFM spec and reference implementation:
    • Header rows no longer require a | character
    • Header rows must now have the same number of cells as the delimiter row (previously, fewer cells were accepted)

[2.10.1] - 2026-09-07

Fixed

  • Accept unordered_list_markers config in InlinesOnlyExtension (#1015, #1151)
Commits
  • 692e90b Prepare to release 2.10.2
  • 411afcc Escape disallowed raw HTML tags that end the rendered output
  • b99b2b6 Scan table delimiter and cell rows as bytes
  • fc7e537 Match GFM table header detection
  • 5f63680 Fix quadratic-time table start detection on long paragraphs
  • be378ba Document that allowed_domains only checks the Markdown URL (#1154)
  • 276b7ab docs: clarify priority ordering behavior (#1152)
  • 8aff314 Update CHANGELOG for version 2.10.1
  • 9d489ab fix: accept unordered_list_markers config in InlinesOnlyExtension (#1151)
  • 8c812a3 Update docs site dependencies to clear all open Dependabot advisories (#1150)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.10.0 to 2.10.2.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.10/CHANGELOG.md)
- [Commits](thephpleague/commonmark@2.10.0...2.10.2)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-version: 2.10.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants