CVE Feed

    Dashboard / CVE / CVE-2026-126365

    CVE-2026-126365

    Astro is a web framework for content-driven websites. Prior to @astrojs/prism 4.1.2, and from @astrojs/markdoc 0.3.0 until 2.1.2, runHighlighterWithAstro() returned code unchanged when Prism had no grammar for the requested language, and callers inserted that result as raw HTML. A code block labeled with an unsupported language could therefore render embedded HTML and script instead of displaying it as text. The Prism component was affected when applications supplied untrusted code with an unsupported or attacker-controlled lang, and the @astrojs/markdoc prism() extension was affected for less-trusted content authors even when Markdoc's ordinary HTML rendering was disabled. This issue is fixed in @astrojs/prism 4.1.2 and @astrojs/markdoc 2.1.2.

    Published:Nov 12, 2026
    Last Modified:Nov 17, 2026
    EPS:Nov 12, 2026
    EPSS Score:0.00171
    CVSS Score:5.4

    Affected Products

    Vendor
    Astro
    Product
    Astro
    Vendor
    Astro
    Product
    Markdoc
    Vendor
    Astro
    Product
    Prism
    Vendor
    Withastro
    Product
    Astro

    Exploits

    No exploit reference

    Related CVEs

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High