PT-2026-6845 · Npm · Sceditor

Published

2026-02-06

·

Updated

2026-02-06

CVSS v3.1

5.4

Medium

VectorAV: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:
sceditor.create(textarea, {
 emoticons: {
  dropdown: { ':)': { url: 'x" onerror="window. xss = true' } }
 }
});

Fix

XSS

Weakness Enumeration

Related Identifiers

GHSA-25FQ-6QGG-QPJ8

Affected Products

Sceditor