Skip to content

chore(deps): bump league/commonmark from 2.10.1 to 2.10.3 - #549

Merged
michalsn merged 1 commit into
developfrom
dependabot/composer/league/commonmark-2.10.3
Sep 26, 2026
Merged

michalsn merged 1 commit into
developfrom
dependabot/composer/league/commonmark-2.10.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 25, 2026

Copy link
Copy Markdown
Contributor

Bumps league/commonmark from 2.10.1 to 2.10.3.

Release notes

Sourced from league/commonmark's releases.

2.10.3

Fixed

  • Fixed footnote links and backlinks pointing at the wrong anchor when footnote/footnote_id_prefix or footnote/ref_id_prefix contains an uppercase character; the configured prefix is now emitted verbatim in the href as it already was in the matching id (#524)
  • Fixed inline raw HTML tags being escaped when the tag name or an attribute name contains an uppercase letter, such as <svg viewBox="..."> or <Warning> (#1096)

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

Changelog

Sourced from league/commonmark's changelog.

[2.10.3] - 2026-09-21

Fixed

  • Fixed footnote links and backlinks pointing at the wrong anchor when footnote/footnote_id_prefix or footnote/ref_id_prefix contains an uppercase character; the configured prefix is now emitted verbatim in the href as it already was in the matching id (#524)
  • Fixed inline raw HTML tags being escaped when the tag name or an attribute name contains an uppercase letter, such as <svg viewBox="..."> or <Warning> (#1096)

[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)
Commits
  • 6efbd9c Prepare to release 2.10.3
  • 19b3037 case insensitive for HTML attributes (#1096)
  • 053ebd3 Keep the configured footnote id prefixes out of the href lowercasing (#1153)
  • 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)
  • 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)

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

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-version: 2.10.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Sep 25, 2026
@michalsn
michalsn merged commit bb60121 into develop Sep 26, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/composer/league/commonmark-2.10.3 branch September 26, 2026 05:18
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.

2 participants