CVE-2021-24586: Per page add to head - Cross-Site Request Forgery & Stored XSS
- Cve: CVE-2021-24586
- Name: Per page add to head - Cross-Site Request Forgery & Stored XSS
- 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.
- Impact: Attackers can change plugin settings and execute stored XSS, potentially leading to session hijacking, defacement, or malicious script execution.
- Remediation: Update to version 1.4.4 or later to include CSRF protection and sanitize HTML inputs.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: client_script_exec, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs to be logged in as admin
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Epss score: 0.00483
- Epss percentile: 0.42177
- Assignee: [email protected]
- Published at: 2021-09-13T18:15:16Z
- Age in days: 1898
- Modified at: 2026-06-17T03:40:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24586
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/e9885fba-0e73-41a0-9e1d-47badc09be85 | nvd | 2021-09-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/e9885fba-0e73-41a0-9e1d-47badc09be85 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| evona:per_page_add_to_head | < 1.4.4 | no | nvd | /v1/products/evona/per_page_add_to_head |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-09-13
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts