BUG_Author: s0l42

Affected Version: ueditor 1.4.3.2

Vendor: ueditor GitHub Repository

Software: ueditor

Vulnerability Files:

Description:

Jsonp Injection:

image.png

image.png

Analysis

We analyse the code, which do not have any check but echo user input from callback

if (isset($_GET["callback"])) {
    echo $_GET["callback"] . '(' . $result . ')';
} else {
    echo $result;
}