What’s Vulnerable › Vulnerabilities
CVE-2021-24586: Per Page Add to Head < 1.4.4 - CSRF to Stored XSS
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-09-13 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- Per page add to head: before 1.4.4 — fixed in 1.4.4
How to fix
Upgrade to a fixed version: Per page add to head 1.4.4. Check the vendor advisory for mitigations.
References
- https://wpscan.com/vulnerability/e9885fba-0e73-41a0-9e1d-47badc09be85
- https://wpscan.com/vulnerability/e9885fba-0e73-41a0-9e1d-47badc09be85
Get alerted when CVE-2021-24586 or the next vulnerability affects your stack