CVE-2022-4455 sproctor php-calendar index.php cross site scripting
Remote attackers can execute arbitrary scripts via cross-site scripting in the index.php file of sproctor php-calendar.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-4455?
CVE-2022-4455 is a medium-severity cross-site scripting vulnerability in sproctor php-calendar, published on 13 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability was identified in sproctor php-calendar up to 2.0.13. This impacts an unknown function of the file index.php. Such manipulation of the argument $_SERVER['PHP_SELF'] leads to cross site scripting. The attack may be launched remotely. The name of the patch is a2941109b42201c19733127ced763e270a357809. It is advisable to implement a patch to correct this issue.
Which versions are affected by CVE-2022-4455?
It affects 1 product.
Products include Php-Calendar Php-Calendar.
How do I fix CVE-2022-4455?
Apply the vendor's patch.
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-2022-4455 being exploited?
There is no known exploitation of CVE-2022-4455 in the wild and no public exploit code.
Other vulnerabilities in sproctor php-calendar
Sources
Also known as GHSA-3957-4jhv-xcc7, MINI-67cj-wx3w-w33j, MINI-cvrv-4f8p-96g5, MINI-g3pp-5vpc-mh77, MINI-r4rr-mw6w-fhw8, MINI-xfwp-76r9-72mc.