CVE-2021-40909 Cross-site scripting in n/a
Remote attackers can execute arbitrary code via XSS in the first_name, last_name, and email parameters of this PHP CRUD application.
- 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-40909?
CVE-2021-40909 is a critical cross-site scripting vulnerability in n/a, published on 24 Jan 2022. 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
Cross site scripting (XSS) vulnerability in sourcecodester PHP CRUD without Refresh/Reload using Ajax and DataTables Tutorial v1 by oretnom23, allows remote attackers to execute arbitrary code via the first_name, last_name, and email parameters to /ajax_crud.
Which versions are affected by CVE-2021-40909?
It affects 1 product.
Products include Php Crud Without Refresh\/Reload Using Ajax and Datatables Tutorial Project Php Crud Without Refresh\/Reload Using Ajax and Datatables Tutorial.
How do I fix CVE-2021-40909?
No fix has been published for CVE-2021-40909 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-40909 being exploited?
There is no known exploitation of CVE-2021-40909 in the wild and no public exploit code.
Sources
Also known as GHSA-vqxh-g4gf-cp2w.