CVE-2026-133937 (Medium) detected in highlight.js-10.7.3.tgz
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript, node.js
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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)
- react-syntax-highlighter-15.6.6.tgz
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
Step up your Open Source Security Game with Mend here
- Linguagem predominante
- Go
- Estrelas
- 2.8k
- Forks
- 88
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de postgres-ai/database-lab-engine
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Todas as issues de postgres-ai/database-lab-engine
Issues semelhantes
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
rohitgollarahalli/mcpx#45 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
router-for-me/CLIProxyAPI#8851 ·
Mantenedores costumam responder em até 7 dias
-
Windows 主机
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Lee-xeo/Claude-Cage#1550 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 1 dia