Skip to content

starlight-0.37.4.tgz: 1 vulnerabilities (highest severity is: 6.1) #239

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - starlight-0.37.4.tgz

Path to dependency file: /docs/starlight-docs/package.json

Path to vulnerable library: /docs/package.json,/docs/starlight-docs/package.json

Found in HEAD commit: 85a64cace68e869559113ce87327c43bb32dd24a

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (starlight version) Remediation Possible**
CVE-2026-41305 Medium 6.1 postcss-8.5.6.tgz Transitive 0.37.5

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-41305

Vulnerable Library - postcss-8.5.6.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz

Path to dependency file: /docs/package.json

Path to vulnerable library: /docs/package.json,/docs/starlight-docs/package.json

Dependency Hierarchy:

  • starlight-0.37.4.tgz (Root Library)
    • astro-expressive-code-0.41.6.tgz
      • rehype-expressive-code-0.41.6.tgz
        • expressive-code-0.41.6.tgz
          • core-0.41.6.tgz
            • postcss-8.5.6.tgz (Vulnerable Library)

Found in HEAD commit: 85a64cace68e869559113ce87327c43bb32dd24a

Found in base branch: main

Vulnerability Details

PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Versions prior to 8.5.10 do not escape "</style>" sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML "<style>" tags, "</style>" in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.

Publish Date: 2026-04-24

URL: CVE-2026-41305

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-qx2v-qp2m-jg93

Release Date: 2026-04-24

Fix Resolution (postcss): 8.5.10

Direct dependency fix Resolution (@astrojs/starlight): 0.37.5

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions