Skip to content

Commit ecbf909

Browse files
authored
Build(deps): bump league/commonmark from 2.6.1 to 2.7.0 in the composer group (#85)
Bumps the composer group with 1 update: [league/commonmark](https://github.com/thephpleague/commonmark). Updates `league/commonmark` from 2.6.1 to 2.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/thephpleague/commonmark/releases">league/commonmark's releases</a>.</em></p> <blockquote> <h2>2.7.0</h2> <p>This is a <strong>security release</strong> to address <a href="https://github.com/thephpleague/commonmark/security/advisories/GHSA-3527-qv2q-pfvx">a potential cross-site scripting (XSS) vulnerability when using the <code>AttributesExtension</code> with untrusted user input</a>.</p> <h3>Added</h3> <ul> <li>Added <code>attributes/allow</code> config option to specify which attributes users are allowed to set on elements (default allows virtually all attributes)</li> </ul> <h3>Changed</h3> <ul> <li>The <code>AttributesExtension</code> blocks all attributes starting with <code>on</code> unless explicitly allowed via the <code>attributes/allow</code> config option</li> <li>The <code>allow_unsafe_links</code> option is now respected by the <code>AttributesExtension</code> when users specify <code>href</code> and <code>src</code> attributes</li> </ul> <h2>2.6.2</h2> <h2>Fixed</h2> <ul> <li>Fixed Attributes extension parsing regression (<a href="https://redirect.github.com/thephpleague/commonmark/issues/1071">#1071</a>)</li> </ul> <h2>Other Changes</h2> <ul> <li>fix incorrect interface in docs v2.6 by <a href="https://github.com/CharrafiMed"><code>@​CharrafiMed</code></a> in <a href="https://redirect.github.com/thephpleague/commonmark/pull/1063">thephpleague/commonmark#1063</a></li> <li>docs/2.6/extensions/front-matter.md: add missing newline by <a href="https://github.com/DanielEScherzer"><code>@​DanielEScherzer</code></a> in <a href="https://redirect.github.com/thephpleague/commonmark/pull/1069">thephpleague/commonmark#1069</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/CharrafiMed"><code>@​CharrafiMed</code></a> made their first contribution in <a href="https://redirect.github.com/thephpleague/commonmark/pull/1063">thephpleague/commonmark#1063</a></li> <li><a href="https://github.com/DanielEScherzer"><code>@​DanielEScherzer</code></a> made their first contribution in <a href="https://redirect.github.com/thephpleague/commonmark/pull/1069">thephpleague/commonmark#1069</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/thephpleague/commonmark/compare/2.6.1...2.6.2">https://github.com/thephpleague/commonmark/compare/2.6.1...2.6.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/thephpleague/commonmark/blob/2.7/CHANGELOG.md">league/commonmark's changelog</a>.</em></p> <blockquote> <h2>[2.7.0]</h2> <p>This is a <strong>security release</strong> to address a potential cross-site scripting (XSS) vulnerability when using the <code>AttributesExtension</code> with untrusted user input.</p> <h3>Added</h3> <ul> <li>Added <code>attributes/allow</code> config option to specify which attributes users are allowed to set on elements (default allows virtually all attributes)</li> </ul> <h3>Changed</h3> <ul> <li>The <code>AttributesExtension</code> blocks all attributes starting with <code>on</code> unless explicitly allowed via the <code>attributes/allow</code> config option</li> <li>The <code>allow_unsafe_links</code> option is now respected by the <code>AttributesExtension</code> when users specify <code>href</code> and <code>src</code> attributes</li> </ul> <h2>[2.6.2] - 2025-04-18</h2> <h3>Fixed</h3> <ul> <li>Fixed Attributes extension parsing regression (<a href="https://redirect.github.com/thephpleague/commonmark/issues/1071">#1071</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/thephpleague/commonmark/commit/6fbb36d44824ed4091adbcf4c7d4a3923cdb3405"><code>6fbb36d</code></a> Prepare to release 2.7.0</li> <li><a href="https://github.com/thephpleague/commonmark/commit/f0d626cf05ad3e99e6db26ebcb9091b6cd1cd89b"><code>f0d626c</code></a> Merge commit from fork</li> <li><a href="https://github.com/thephpleague/commonmark/commit/43207253ea5f14867c77c697cd3838c446cadcea"><code>4320725</code></a> Fix XSS in AttributesExtension</li> <li><a href="https://github.com/thephpleague/commonmark/commit/d4b08b81d23e1a30fa70edc0bff4f1c0595c0892"><code>d4b08b8</code></a> Create 2.7 branch</li> <li><a href="https://github.com/thephpleague/commonmark/commit/5b794e1654d86472445667e41cc16adc5646a790"><code>5b794e1</code></a> Remove docs for 1.0 - 1.5</li> <li><a href="https://github.com/thephpleague/commonmark/commit/3db9d35b600de147e4ca01298fe1666c9ccaf1d4"><code>3db9d35</code></a> Merge branch '2.6'</li> <li><a href="https://github.com/thephpleague/commonmark/commit/06c3b0bf2540338094575612f4a1778d0d2d5e94"><code>06c3b0b</code></a> Prepare to release 2.6.2</li> <li><a href="https://github.com/thephpleague/commonmark/commit/771974c975d465218dc62b6d90c91acb593e38e9"><code>771974c</code></a> Fix Attributes extension parsing regression (<a href="https://redirect.github.com/thephpleague/commonmark/issues/1071">#1071</a>)</li> <li><a href="https://github.com/thephpleague/commonmark/commit/e99ee2e1e0220612b9d836cd13bbf2990cbdf18f"><code>e99ee2e</code></a> Merge pull request <a href="https://redirect.github.com/thephpleague/commonmark/issues/1069">#1069</a> from DanielEScherzer/patch-1</li> <li><a href="https://github.com/thephpleague/commonmark/commit/f356ca567c46abfb76d1a6dbc940755212273147"><code>f356ca5</code></a> docs/2.6/extensions/front-matter.md: add missing newline</li> <li>Additional commits viewable in <a href="https://github.com/thephpleague/commonmark/compare/2.6.1...2.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=league/commonmark&package-manager=composer&previous-version=2.6.1&new-version=2.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/step2dev/lazy-ui-docs/network/alerts). </details>
2 parents e892c6a + 5af7bf8 commit ecbf909

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

composer.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)