# CVE-2021-42662: A Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP/MySQL via the…

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.55%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-11-05T10:21:22.000Z
- Modified: 2026-06-17T04:09:55.727Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

A Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP/MySQL via the Holiday reason parameter. An attacker can leverage this vulnerability in order to run javascript commands on the web server surfers behalf, which can lead to cookie stealing and more.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- online_event_booking_and_reservation_system_project online_event_booking_and_reservation_system: 2.3.0

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <http://packetstormsecurity.com/files/164615/Online-Event-Booking-And-Reservation-System-1.0-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/TheHackingRabbi/CVE-2021-42662> (exploit, third-party-advisory)
- <https://www.exploit-db.com/exploits/50450> (exploit, third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html> (product, third-party-advisory)

## Sources

- CVE List: [CVE-2021-42662](https://www.cve.org/CVERecord?id=CVE-2021-42662), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-42662](https://nvd.nist.gov/vuln/detail/CVE-2021-42662), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-42662 · Whole record: https://cve.day/CVE-2021-42662.json · Rebuilt by cve.day 2026-11-25T22:58:05.372Z
