{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-42662","id":"CVE-2021-42662","title":"A Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Online Event Booking and Reservation Syste…","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.","descriptionLong":"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.","published":"2021-11-05T10:21:22.000Z","updated":"2026-06-17T04:09:55.727Z","reserved":"2021-10-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://www.sourcecodester.com/php/14241/online-event-booking-and-reservation-system-phpmysql.html","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/164615/Online-Event-Booking-And-Reservation-System-1.0-Cross-Site-Scripting.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/TheHackingRabbi/CVE-2021-42662","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/50450","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01674,"epssPercentile":0.7735,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-42662","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42662","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-42662","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-42662","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["mysql"],"critical":[],"attention":null}