CVE-2021-42662 - HTML Injection vulnerability in the Online event booking and reservation system version 2.3.0.
A HTML injection vulnerability exists in the Online Event Booking and Reservation System version 2.3.0. An attacker can leverage this vulnerability in order to change the visibility of the website. Once the target user clicks on a given link he will display the content of the HTML code of the attacker's choice.
Affected components -
Vulnerable page - index.php
Vulnerable parameter - "msg"
- Navigate to http://localhost/event-management/views/index.php
- Insert your payload in the "msg" parameter through the URL
- Send the complete link to the victim
The following payload will allow you to run the HTML code -
<h1>This is an HTML injection</h1>
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42663
https://nvd.nist.gov/vuln/detail/CVE-2021-42663
Alon Leviev(0xDeku), 22 October, 2021.