CVE-2021-42078 Cross-site scripting in n/a
Persistent XSS in PHP Event Calendar allows attackers to execute scripts in other users' contexts or deface the site.
- 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-42078?
CVE-2021-42078 is a medium-severity cross-site scripting vulnerability in n/a, published on 8 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
PHP Event Calendar through 2021-11-04 allows persistent cross-site scripting (XSS), as demonstrated by the /server/ajax/events_manager.php title parameter. This can be exploited by an adversary in multiple ways, e.g., to perform actions on the page in the context of other users, or to deface the site.
Weakness: CWE-79
Which versions are affected by CVE-2021-42078?
It affects 1 product.
Products include Php Event Calendar Project Php Event Calendar.
How do I fix CVE-2021-42078?
No fix has been published for CVE-2021-42078 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-42078 being exploited?
There is no known exploitation of CVE-2021-42078 in the wild and no public exploit code.
Sources
Also known as GHSA-xf8q-53qc-c4vp.