Lucene search

K
wpvulndbFrancesco CarlucciWPVDB-ID:49328498-D3A0-4D27-8A52-24054B5E42F3
HistoryNov 15, 2021 - 12:00 a.m.

Display Post Metadata < 1.5.0 - Contributor+ Stored Cross-Site Scripting

2021-11-1500:00:00
Francesco Carlucci
wpscan.com
5
plugin
shortcode
custom fields
sanitised
escaped
cross-site scripting
contributor
poc
xss
previewed

EPSS

0.001

Percentile

24.8%

The plugin adds a shortcode to print out custom fields, however their content is not sanitised or escaped which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks

PoC

- Login as contributor+ - Create a custom field containing XSS payload (eg. ) - Add this shortcode to the post/page: [metadata element=“custom_fields”] - The XSS will be triggered when the post/page is previewed/viewed by any user

EPSS

0.001

Percentile

24.8%

Related for WPVDB-ID:49328498-D3A0-4D27-8A52-24054B5E42F3