CVE-2021-24487 St Daily Tip <= 4.7 - CSRF to Stored Cross-Site Scripting
Attackers can inject malicious scripts via CSRF in the St Daily Tip plugin, leading to stored XSS and potential admin account takeover.
- 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-24487?
CVE-2021-24487 is a high-severity cross-site scripting vulnerability in Unknown St-Daily-Tip, published on 25 Oct 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
The St-Daily-Tip WordPress plugin through 4.7 does not have any CSRF check in place when saving its 'Default Text to Display if no tips' setting, and was also lacking sanitisation as well as escaping before outputting it the page. This could allow attacker to make logged in administrators set a malicious payload in it, leading to a Stored Cross-Site Scripting issue
Which versions are affected by CVE-2021-24487?
It affects 1 product.
Products include Sanskruti St-Daily-Tip.
How do I fix CVE-2021-24487?
No fix has been published for CVE-2021-24487 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-24487 being exploited?
There is no known exploitation of CVE-2021-24487 in the wild and no public exploit code.
Sources
Also known as GHSA-r8c2-hqj3-228x.