CVE-2021-24586
WordPress vulnerability analysis and mitigation

Overview

The Per Page Add to Head WordPress plugin before version 1.4.4 contains a Cross-Site Request Forgery (CSRF) and Stored Cross-Site Scripting (XSS) vulnerability. The plugin lacks CSRF protection when saving settings and allows arbitrary HTML insertion, which could be exploited by attackers to modify settings and execute malicious scripts (WPScan Advisory).

Technical details

The vulnerability combines two security issues: a CSRF vulnerability due to missing security checks when saving settings, and a Stored XSS vulnerability through arbitrary HTML insertion in plugin settings. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N. The issues are tracked under CWE-352 (Cross-Site Request Forgery) and CWE-79 (Cross-site Scripting) (NVD Database).

Impact

The vulnerability could allow attackers to make a logged-in administrator change plugin settings and execute arbitrary JavaScript code. Depending on the payload used, the XSS attack could be triggered in the backend, frontend, or both, potentially affecting both administrators and site visitors (WPScan Advisory).

Mitigation and workarounds

The vulnerability was fixed in version 1.4.4 of the Per Page Add to Head plugin. Users are strongly recommended to update to this version or later to protect against these security issues (WPScan Advisory).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14977HIGH8.1
  • dokan-lite
NoYesJan 20, 2026
CVE-2025-14348MEDIUM5.3
  • wemail
NoYesJan 20, 2026
CVE-2026-1045MEDIUM4.4
  • viet-contact
NoNoJan 20, 2026
CVE-2026-1042MEDIUM4.4
  • wp-hello-bar
NoNoJan 20, 2026
CVE-2025-12573N/AN/A
  • bookingor
NoNoJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management