PT-2026-6845 · Npm · Sceditor

Publicado

2026-02-06

·

Atualizado

2026-02-06

CVSS v3.1

5.4

Média

VetorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
If an attacker has the ability control configuration options passed to sceditor.create(), like emoticons, charset, etc. then it's possible for them to trigger an XSS attack due to lack of sanitisation of configuration options.
Proof of concept:
js
sceditor.create(textarea, {
 emoticons: {
  dropdown: { ':)': { url: 'x" onerror="window. xss = true' } }
 }
});

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

GHSA-25FQ-6QGG-QPJ8

Produtos afetados

Sceditor