Lucene search

K
prionPRIOn knowledge basePRION:CVE-2023-46252
HistoryNov 07, 2023 - 7:15 p.m.

Cross site scripting

2023-11-0719:15:00
PRIOn knowledge base
www.prio-n.com
3
squidex
cms
xss
vulnerability
postmessage handler
event listener
editor-sdk.js
origin verification
headless
content management

6.2 Medium

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.1%

Squidex is an open source headless CMS and content management hub. Affected versions are missing origin verification in a postMessage handler which introduces a Cross-Site Scripting (XSS) vulnerability. The editor-sdk.js file defines three different class-like functions, which employ a global message event listener: SquidexSidebar, SquidexWidget, and SquidexFormField. The registered event listener takes some action based on the type of the received message. For example, when the SquidexFormField receives a message with the type valueChanged, the value property is updated. The SquidexFormField class is for example used in the editor-editorjs.html file, which can be accessed via the public wwwroot folder. It uses the onValueChanged method to register a callback function, which passes the value provided from the message event to the editor.render. Passing an attacker-controlled value to this function introduces a Cross-Site Scripting (XSS) vulnerability.

CPENameOperatorVersion
squidexeq7.8.2

6.2 Medium

AI Score

Confidence

High

0.0005 Low

EPSS

Percentile

17.1%

Related for PRION:CVE-2023-46252