CVE-2021-42663 Cross-site scripting in n/a

Medium 4.3 Published Updated

Attackers can inject HTML into the event booking system to alter website visibility and display malicious content to users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-42663?

CVE-2021-42663 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Nov 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An HTML injection vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP/MySQL via the msg parameter to /event-management/index.php. 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.

Weakness: CWE-79

Which versions are affected by CVE-2021-42663?

It affects 1 product.

Products include Online Event Booking and Reservation System Project Online Event Booking and Reservation System.

How do I fix CVE-2021-42663?

No fix has been published for CVE-2021-42663 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-42663 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-42663 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-948r-pr54-gh74.

Is CVE-2021-42663 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free