CVE-2021-24586 Per Page Add to Head < 1.4.4 - CSRF to Stored XSS
Attackers can exploit CSRF to inject malicious HTML into plugin settings, leading to Stored XSS that executes code in admin or user sessions.
- 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-24586?
CVE-2021-24586 is a medium-severity cross-site scripting vulnerability in Unknown Per page add to head, published on 13 Sep 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 Per page add to head WordPress plugin before 1.4.4 is lacking any CSRF check when saving its settings, which could allow attackers to make a logged in admin change them. Furthermore, as the plugin allows arbitrary HTML to be inserted in one of the setting (feature mentioned by the plugin), this could lead to Stored XSS issue which will be triggered either in the backend, frontend or both depending on the payload used.
Which versions are affected by CVE-2021-24586?
It affects 1 product.
Products include Evona per Page Add to Head.
How do I fix CVE-2021-24586?
No fix has been published for CVE-2021-24586 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-24586 being exploited?
There is no known exploitation of CVE-2021-24586 in the wild and no public exploit code.
Other vulnerabilities in Unknown Per page add to head
Sources
Also known as GHSA-gm56-4fv5-gp9q.