p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de php-league-commonmark

Vulnérabilités publiées pour php-league-commonmark au cours des 30 derniers jours : 2. Présentes dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 16

  1. CVE-2026-105830

    Élevée · CVSS 8.7EPSS 0,37%Aucun correctif publié

    league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser

    league/commonmark from 2.0.0 before 2.10.2 contains a quadratic-time denial of service vulnerability in the GitHub Flavored Markdown Table extension's TableStartParser::tryStart() block-start scan. Unauthenticated attackers can submit a large paragraph of pipe-free lines not starting with letters, forcing repeated full-buffer strpos scans that exhaust PHP worker CPU.

    Publication Mise à jour
  2. CVE-2026-105829

    Moyenne · CVSS 5.3EPSS 0,2%Aucun correctif publié

    League CommonMark 1.3.0 before 2.10.2 Stored XSS via DisallowedRawHtml Bypass

    League CommonMark from 1.3.0 before 2.10.2 contains a cross-site scripting vulnerability that allows users posting Markdown to bypass the DisallowedRawHtml extension by ending raw HTML with a bare disallowed tag name. Attackers can place a lone <script or <iframe line followed by a block supplying attributes like src or onload, executing stored scripts in viewers' browsers under default GFM settings.

    Publication Mise à jour
  3. CVE-2024-58382

    Élevée · CVSS 8.7EPSS 0,28%Correctif disponible

    league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

    league/commonmark versions before 2.6.0 contain polynomial time complexity vulnerabilities in Markdown parsing that allow attackers to cause denial of service. Attackers can submit carefully crafted Markdown inputs designed to trigger worst-case performance, and sending multiple requests in parallel exhausts CPU resources and PHP-FPM processes.

    • Mettez à jour vers 2.6.0-1
    Publication Mise à jour
  4. CVE-2026-86435

    Élevée · CVSS 8.7EPSS 0,49%Aucun correctif publié

    commonmark 1.5.0 before 2.8.4 Denial of Service via Footnote

    commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Footnote extension that fails to deduplicate footnote definitions. Attackers can craft documents with duplicate footnote definitions and references to create quadratic output expansion, consuming excessive memory and CPU to exhaust server resources.

    Publication Mise à jour
  5. CVE-2026-86434

    Élevée · CVSS 8.7EPSS 0,51%Aucun correctif publié

    commonmark 2.0.0 through 2.8.3 Denial of Service via Slug Collision

    league/commonmark versions >= 2.0.0 and < 2.8.4 (patched in 2.9.0) contain a denial of service vulnerability in UniqueSlugNormalizer::normalize(), which restarts its numeric-suffix search from 1 on every slug collision, resulting in O(K^2) time complexity for K headings that collapse to the same base slug. The vulnerable path is reached when HeadingPermalinkExtension, FootnoteExtension, or TableOfContentsExtension is registered. An unauthenticated attacker can force many headings onto a single base slug (e.g., via empty ATX headings, identical heading text, or punctuation-only headings) in a small Markdown document, consuming excessive CPU an

    Publication Mise à jour
  6. CVE-2026-86433

    Élevée · CVSS 8.7EPSS 0,51%Aucun correctif publié

    commonmark 1.5.0 before 2.8.4 Denial of Service via Attributes

    commonmark versions from 1.5.0 before 2.8.4 contain a denial of service vulnerability in the Attributes extension where AttributesListener::findTargetAndDirection() performs quadratic-time sibling list scanning. Unauthenticated attackers can submit approximately 32 KB of repeated attribute blocks to cause parsing to take over 5 seconds, exhausting server resources.

    Publication Mise à jour
  7. CVE-2026-86432

    Moyenne · CVSS 6.9EPSS 0,42%Aucun correctif publié

    commonmark 2.0.0 before 2.8.4 Denial of Service via XML

    commonmark versions from 2.0.0 before 2.8.4 contain a denial of service vulnerability in XmlRenderer that emits depth-proportional indentation for every XML tag. Attackers can provide deeply nested Markdown or AST structures to cause quadratic memory consumption and output amplification, exhausting server resources.

    Publication Mise à jour
  8. CVE-2026-86431

    Moyenne · CVSS 6.9EPSS 0,39%Aucun correctif publié

    commonmark before 2.9.1 XSS via AttributesExtension form feed bypass

    league/commonmark (thephpleague/commonmark) versions >= 2.7.0 and < 2.9.1 contain a cross-site scripting vulnerability in the AttributesExtension. Prefixing an attribute name with a single U+000C form feed byte (e.g. {\x0Conclick="alert(1)"}) bypasses the AttributesHelper::filterAttributes() 'on*' event-handler filter because PHP's trim() does not strip U+000C, causing the attribute to be written verbatim into the output where browsers parse it as a genuine event handler. The same prefix also defeats the allow_unsafe_links check, allowing javascript: URIs through href/src attributes even when allow_unsafe_links is false. Exploitation requires

    Publication Mise à jour
  9. CVE-2026-86430

    Élevée · CVSS 8.7EPSS 0,49%Aucun correctif publié

    league/commonmark before 2.9.1 Denial of Service via parsing

    league/commonmark versions before 2.9.1 contain multiple denial of service vulnerabilities in fenced code block detection, reference link label lookup, and emphasis delimiter processing that perform super-linear work on crafted input. Attackers can submit specially crafted Markdown with long backtick runs, nested brackets, or delimiter sequences to consume disproportionate CPU time and prevent legitimate requests from completing.

    Publication Mise à jour
  10. CVE-2026-86429

    Élevée · CVSS 8.7EPSS 0,52%Aucun correctif publié

    commonmark before 2.9.1 Denial of Service via SmartPunct and Attributes

    The league/commonmark (thephpleague/commonmark) library in versions >= 1.5.0 and < 2.9.1 contains quadratic parsing complexity in its SmartPunctExtension and AttributesExtension. When either extension is explicitly registered on the Environment (they are not enabled by default and are excluded from the standard CommonMark and GitHub-Flavored Markdown converters), an unauthenticated attacker can submit small, specially crafted Markdown documents — such as text alternating with unpaired quotes, contiguous runs of block-level attribute blocks, or repeated class attributes — to trigger disproportionate CPU consumption and cause a denial of servic

    Publication Mise à jour
  11. CVE-2026-86428

    Élevée · CVSS 8.7EPSS 0,49%Aucun correctif publié

    commonmark 1.5.0 before 2.10.0 Denial of Service via Attributes

    commonmark versions from 1.5.0 before 2.10.0 contain a denial of service vulnerability in the AttributesExtension when processing distinctly-named attributes. Attackers can submit Markdown with numerous distinct attribute names to cause quadratic-time attribute merging and filtering, consuming disproportionate CPU resources and preventing legitimate requests from completing.

    Publication Mise à jour
  12. CVE-2026-71488

    Élevée · CVSS 7.5EPSS 0,63%Aucun correctif publié

    league/commonmark: Quadratic-time denial of service when parsing crafted Markdown

    league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.

    Publication Mise à jour
  13. CVE-2026-71478

    Moyenne · CVSS 6.1EPSS 0,36%Aucun correctif publié

    league/commonmark: AttributesExtension href/src unsafe-link filter bypass via embedded control bytes

    league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 1.5.0 until 2.9.0, the AttributesExtension's href and src unsafe-link filter can be bypassed by embedding control bytes, such as a tab, carriage return, line feed, or leading C0 control character, in a javascript: URL that browsers discard before parsing the scheme, causing the browser to still execute the script even when the unsafe-link filter is enabled. This issue is fixed in 2.9.0.

    Publication Mise à jour
  14. CVE-2026-33347

    Moyenne · CVSS 6.3EPSS 0,33%Correctif disponible

    league/commonmark has an embed extension allowed_domains bypass

    league/commonmark is a PHP Markdown parser. From version 2.3.0 to before version 2.8.2, the DomainFilteringAdapter in the Embed extension is vulnerable to an allowlist bypass due to a missing hostname boundary assertion in the domain-matching regex. An attacker-controlled domain like youtube.com.evil passes the allowlist check when youtube.com is an allowed domain. This issue has been patched in version 2.8.2.

    • Mettez à jour vers 2.7.0-1+deb13u1
    Publication Mise à jour
  15. CVE-2026-30838

    Moyenne · CVSS 5.1EPSS 0,26%Correctif disponible

    league/commonmark: DisallowedRawHtml extension bypass via whitespace in HTML tag names

    league/commonmark is a PHP Markdown parser. Prior to version 2.8.1, the DisallowedRawHtml extension can be bypassed by inserting a newline, tab, or other ASCII whitespace character between a disallowed HTML tag name and the closing >. For example, <script\n> would pass through unfiltered and be rendered as a valid HTML tag by browsers. This is a cross-site scripting (XSS) vector for any application that relies on this extension to sanitize untrusted user input. All applications using the DisallowedRawHtml extension to process untrusted markdown are affected. Applications that use a dedicated HTML sanitizer (such as HTML Purifier) on the rende

    • Mettez à jour vers 2.7.0-1+deb13u1
    Publication Mise à jour
  16. CVE-2025-46734

    Moyenne · CVSS 6.4EPSS 0,38%Correctif disponible

    league/commonmark Cross-site Scripting vulnerability in Attributes extension

    league/commonmark is a PHP Markdown parser. A cross-site scripting (XSS) vulnerability in the Attributes extension of the league/commonmark library (versions 1.5.0 through 2.6.x) allows remote attackers to insert malicious JavaScript calls into HTML. The league/commonmark library provides configuration options such as `html_input: 'strip'` and `allow_unsafe_links: false` to mitigate cross-site scripting (XSS) attacks by stripping raw HTML and disallowing unsafe links. However, when the Attributes Extension is enabled, it introduces a way for users to inject arbitrary HTML attributes into elements via Markdown syntax using curly braces. Versio

    • Mettez à jour vers 2.7.0-1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →