Update dependency league/commonmark to ^2.9.0 - #599
Merged
Conversation
| datasource | package | from | to | | ---------- | ----------------- | ----- | ----- | | packagist | league/commonmark | 2.8.3 | 2.9.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.8.3→^2.9.0Release Notes
thephpleague/commonmark (league/commonmark)
v2.9.0Compare Source
This is a security release to address five denial of service vulnerabilities and one cross-site scripting (XSS) vulnerability.
Added
NormalizeHeadingsExtensionto constrain headings to a configured level range (#989)normalize_headings/rebase_to_min_level- rebases each document so its headings begin atmin_levelfootnote/enable_inline_footnotesconfig option to disable the inline^[Footnote text]syntax (#1112)Cursor::getBytePosition()for obtaining the cursor's current byte offset within the linexml/max_indentation_levelconfig option to control how farXmlRendererindents nested elements (default:16; set to0for unindented output)Changed
FootnoteExtensionnow uses only the first definition of a footnote label, removing any duplicate definitions instead of rendering them in placeNumberFootnotesListenernow stores footnote backrefs under a singlefootnote/backrefskey in the document data instead of one key per footnote destinationCursorto translate character positions to byte offsets in constant time instead of re-decoding the line withmb_substr()Cursor::match()to match against the line at the cursor's byte offset instead of copying the remaining line on every callInlineParserEngineandUrlAutolinkParserto work with byte offsets directlyFixed
java<TAB>script:), which allowed theallow_unsafe_linksprotection to be bypassed viahrefandsrcattributes (GHSA-29pj-957v-52mc).//-delimited key paths when storing backrefs, which allowed distinct labels such as[^a.b]and[^a/b]to share a single backref list (GHSA-jfm3-95jq-q3rf)[^a]and[^a.b]1on every collision, causing headings or inline footnotes which normalize to the same slug to be de-duplicated in quadratic time, which could be abused to cause a denial of service (GHSA-mh25-x5hq-wrqp)AttributesExtensionscanning the remaining siblings of an inline attribute which can only apply to its parent block, causing long runs of adjacent inline attributes to be resolved in quadratic time, which could be abused to cause a denial of service (GHSA-g2gp-3wwq-f4ph)XmlRendererindenting every element by its full nesting depth without any upper bound, causing deeply-nested documents to render as quadratically-sized XML, which could be abused to cause a denial of service (GHSA-mj63-m3rc-8ppr)MarkDelimiterProcessornot being declared as aCacheableDelimiterProcessorInterface, preventing the delimiter stack from caching the opener search for==runs (#1133)Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.