Skip to content

starlight-0.32.6.tgz: 2 vulnerabilities (highest severity is: 6.2) #60

@mend-for-github-com

Description

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

Path to dependency file: /tutorials/package.json

Path to vulnerable library: /sources/voice-javascript-workshop/package.json,/sources/video-javascript-multiparty/package.json,/tutorials/video-javascript-one_to_one/package.json,/toolbar-app/package.json,/tutorials/verify-backend/package.json,/tutorials/voice-javascript-workshop/package.json,/tutorials/video-javascript-multiparty_archiving/package.json,/tutorials/video-javascript-signaling/package.json,/tutorials/voice-node-app_to_app/package.json,/tutorials/webxr-javascript-workshop/package.json,/sources/webxr-javascript-workshop/package.json,/tutorials/video-javascript-debugging/package.json,/sources/video_learning_server-node-deploy/package.json,/sources/video-javascript-multiparty_archiving/package.json,/sources/video-javascript-debugging/package.json,/sources/video-javascript-one_to_one/package.json,/sources/video-javascript-signaling/package.json,/tutorials/video_learning_server-node-deploy/package.json,/tutorials/video-javascript-multiparty/package.json,/tutorials/package.json

Found in HEAD commit: f400f39c07df86338418f7902a27a7c22c1442b4

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (starlight version) Remediation Possible**
CVE-2025-27789 Medium 6.2 runtime-7.28.4.tgz Transitive N/A*
CVE-2026-41305 Medium 6.1 postcss-8.5.6.tgz Transitive 0.33.0

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

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

Details

CVE-2025-27789

Vulnerable Library - runtime-7.28.4.tgz

babel's modular runtime helpers

Library home page: https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.4.tgz

Path to dependency file: /tutorials/video-javascript-multiparty_archiving/package.json

Path to vulnerable library: /tutorials/video-javascript-multiparty_archiving/package.json,/sources/video-javascript-multiparty/package.json,/tutorials/voice-node-app_to_app/package.json,/sources/voice-javascript-workshop/package.json,/sources/webxr-javascript-workshop/package.json,/tutorials/webxr-javascript-workshop/package.json,/sources/video-javascript-signaling/package.json,/tutorials/video-javascript-signaling/package.json,/sources/video-javascript-debugging/package.json,/tutorials/voice-javascript-workshop/package.json,/sources/video-javascript-multiparty_archiving/package.json,/sources/video-javascript-one_to_one/package.json,/sources/video_learning_server-node-deploy/package.json,/tutorials/video-javascript-debugging/package.json,/tutorials/video-javascript-multiparty/package.json,/tutorials/verify-backend/package.json,/tutorials/video-javascript-one_to_one/package.json,/toolbar-app/package.json,/tutorials/video_learning_server-node-deploy/package.json,/tutorials/package.json

Dependency Hierarchy:

  • starlight-0.32.6.tgz (Root Library)
    • i18next-23.16.8.tgz
      • runtime-7.28.4.tgz (Vulnerable Library)

Found in HEAD commit: f400f39c07df86338418f7902a27a7c22c1442b4

Found in base branch: main

Vulnerability Details

Babel is a compiler for writing next generation JavaScript. When using versions of Babel prior to 7.26.10 and 8.0.0-alpha.17 to compile regular expression named capturing groups, Babel will generate a polyfill for the ".replace" method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to ".replace"). Generated code is vulnerable if all the following conditions are true: Using Babel to compile regular expression named capturing groups, using the ".replace" method on a regular expression that contains named capturing groups, and the code using untrusted strings as the second argument of ".replace". This problem has been fixed in "@babel/helpers" and "@babel/runtime" 7.26.10 and 8.0.0-alpha.17. It's likely that individual users do not directly depend on "@babel/helpers", and instead depend on "@babel/core" (which itself depends on "@babel/helpers"). Upgrading to "@babel/core" 7.26.10 is not required, but it guarantees use of a new enough "@babel/helpers" version. Note that just updating Babel dependencies is not enough; one will also need to re-compile the code. No known workarounds are available.

Publish Date: 2025-03-11

URL: CVE-2025-27789

CVSS 3 Score Details (6.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-968p-4wvh-cqc8

Release Date: 2025-03-11

Fix Resolution: @babel/runtime-corejs3 - 7.26.10,@babel/runtime - 8.0.0-alpha.17,@babel/helpers - 8.0.0-alpha.17,@babel/runtime-corejs3 - 8.0.0-alpha.17,https://github.com/babel/babel.git - v7.26.10,@babel/runtime-corejs2 - 8.0.0-alpha.17,@babel/runtime - 7.26.10,@babel/helpers - 7.26.10,@babel/runtime-corejs2 - 7.26.10

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: /sources/voice-javascript-workshop/package.json

Path to vulnerable library: /sources/voice-javascript-workshop/package.json,/sources/video-javascript-multiparty/package.json,/tutorials/video-javascript-one_to_one/package.json,/toolbar-app/package.json,/tutorials/verify-backend/package.json,/tutorials/voice-javascript-workshop/package.json,/tutorials/video-javascript-multiparty_archiving/package.json,/tutorials/video-javascript-signaling/package.json,/tutorials/voice-node-app_to_app/package.json,/tutorials/webxr-javascript-workshop/package.json,/sources/webxr-javascript-workshop/package.json,/tutorials/video-javascript-debugging/package.json,/sources/video_learning_server-node-deploy/package.json,/sources/video-javascript-multiparty_archiving/package.json,/sources/video-javascript-debugging/package.json,/sources/video-javascript-one_to_one/package.json,/sources/video-javascript-signaling/package.json,/tutorials/video_learning_server-node-deploy/package.json,/tutorials/video-javascript-multiparty/package.json,/tutorials/package.json

Dependency Hierarchy:

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

Found in HEAD commit: f400f39c07df86338418f7902a27a7c22c1442b4

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.33.0

⛑️ 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