CVE-2026-133937 (Medium) detected in highlight.js-10.7.3.tgz

Ouverte
#406 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
javascript, node.js
Domaine
frontend, security

Piste de recherche

The vulnerable copy is transitive: @postgres.ai/ce pulls react-syntax-highlighter, which pins [email protected], so the fix belongs in /ui/package.json and its pnpm lockfile rather than in application code. Start by running the UI install to see the resolved tree, then bump the parent dependency or add a pnpm override forcing a patched highlight.js. Done means the lockfile no longer resolves 10.7.3 and the audit is clean; note the upstream fix may still be pending, so confirm a fixed release exists first.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Mend: dependency security vulnerability

CVE-2026-133937 - Medium Severity Vulnerability

Vulnerable Library - highlight.js-10.7.3.tgz

Syntax highlighting with language autodetection.

Library home page: https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz

Sample Path to Dependency File: /ui/package.json

Path to vulnerable library: /ui/node_modules/.pnpm/[email protected]/node_modules/highlight.js/package.json

Dependency Hierarchy:

  • @⁠postgres.ai/ce-4.0.3.tgz (Root Library)
    • react-syntax-highlighter-15.6.6.tgz
      • ❌ highlight.js-10.7.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

A flaw has been found in highlight highlight.js up to 11.12.0. The affected element is the function hljs.highlight of the file src/languages/livescript.js of the component Language Grammar Handler. Executing a manipulation of the argument text can lead to inefficient regular expression complexity. The attack can be launched remotely. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.

Publish Date: 2026-11-20

URL: CVE-2026-133937

CVSS 3 Score Details (5.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with Mend here

Langage dominant
Go
Étoiles
2.8k
Forks
88
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de postgres-ai/database-lab-engine

Toutes les issues de postgres-ai/database-lab-engine

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.