Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-42662

A Stored Cross Site Scripting (XSS) vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP/MySQL via the Holiday reason parameter.

EXPLOITMEDIUM 5.4EPSS 3.55%

Does this matter?

A public exploit is published in Exploit-DB, so the technical barrier is gone even though the severity is medium and EPSS is 3.6%. Treat it as high on anything reachable from the internet.

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.

CVSS 3.1
5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS
3.55% probability · 90th percentile
Public exploits
1 in Exploit-DB · first 25 October 2021
CISA KEV
Not listed
Weakness
CWE-79: Cross-site scripting
Affected
online event booking and reservation system project/online event booking and reservation system
Source
cve@mitre.org

In plain terms

It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
An ordinary user account.
Someone else involved
Yes. Someone has to do something, such as open a file or follow a link.
At risk
Reading data: limited. Changing data: limited. Stopping the service: none.
Beyond the affected system
Yes. The effect can reach systems other than the one that has the flaw.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 25 October 2021, 11 days before the record was published.

EPSS trend
0%3%5%24 November 2026: 3.55%5 December 2026: 3.55%24 November 20265 December 2026

EPSS moved from 3.6% on 24 November 2026 to 3.6% on 5 December 2026.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-50450source ↗Online Event Booking and Reservation System 1.0 - 'reason' Stored Cross-Site Scripting (XSS)php · Alon Levievwebapps25 October 2021no

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.