CVE-2024-0963: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codepeople Calculated Fields Form
The Calculated Fields Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's CP_CALCULATED_FIELDS shortcode in all versions up to, and including, 1.2.52 due to insufficient input sanitization and output escaping on user supplied 'location' attribute. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2024-0963 affects the Calculated Fields Form plugin for WordPress, specifically versions up to and including 1.2.52. This plugin allows users to create forms with calculated fields using shortcodes, including CP_CALCULATED_FIELDS. The vulnerability is a stored cross-site scripting (XSS) flaw classified under CWE-79, caused by improper neutralization of input during web page generation. The root cause is insufficient sanitization and output escaping of the 'location' attribute supplied by users within the shortcode. Authenticated attackers with contributor-level or higher permissions can exploit this by injecting arbitrary JavaScript code into pages or posts that use the vulnerable shortcode. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or data theft. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network attack vector, low attack complexity, requiring privileges but no user interaction, with a scope change and low impact on confidentiality and integrity, and no impact on availability. No patches or official fixes are currently linked, and no known exploits in the wild have been reported, but the vulnerability is publicly disclosed and enriched by CISA. This vulnerability is particularly concerning because contributor-level users are common in WordPress environments, and stored XSS can have persistent and widespread effects.
Potential Impact
The primary impact of CVE-2024-0963 is the potential for attackers with contributor-level access to inject malicious scripts that execute in the browsers of site visitors and administrators. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. It can also facilitate defacement, phishing, or distribution of malware through the compromised site. The vulnerability affects the confidentiality and integrity of user data and site content but does not directly affect availability. Organizations relying on the Calculated Fields Form plugin risk compromise of user accounts and sensitive data, especially in environments with multiple contributors or editors. The scope of affected systems is broad given WordPress's global popularity and the plugin's usage, potentially impacting websites ranging from small blogs to enterprise portals. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but this is a common threat vector in CMS environments. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as proof-of-concept code may emerge.
Mitigation Recommendations
To mitigate CVE-2024-0963, organizations should first check for plugin updates from codepeople that address this vulnerability and apply them promptly once available. In the absence of an official patch, administrators should restrict contributor-level permissions to trusted users only and audit existing content for injected scripts. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script payloads in shortcode attributes can reduce risk. Additionally, site owners can sanitize user inputs at the application level by customizing the shortcode handler to enforce strict validation and escaping of the 'location' attribute. Monitoring logs for unusual contributor activity and scanning site content for injected scripts are also recommended. Educating contributors about safe content practices and limiting plugin usage to essential sites can further reduce exposure. Finally, consider disabling or replacing the Calculated Fields Form plugin with alternatives that follow secure coding practices until a fix is confirmed.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, Brazil, France, Netherlands, Japan, Italy, Spain
CVE-2024-0963: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codepeople Calculated Fields Form
Description
The Calculated Fields Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's CP_CALCULATED_FIELDS shortcode in all versions up to, and including, 1.2.52 due to insufficient input sanitization and output escaping on user supplied 'location' attribute. This makes it possible for authenticated attackers with contributor-level and above permissions to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2024-0963 affects the Calculated Fields Form plugin for WordPress, specifically versions up to and including 1.2.52. This plugin allows users to create forms with calculated fields using shortcodes, including CP_CALCULATED_FIELDS. The vulnerability is a stored cross-site scripting (XSS) flaw classified under CWE-79, caused by improper neutralization of input during web page generation. The root cause is insufficient sanitization and output escaping of the 'location' attribute supplied by users within the shortcode. Authenticated attackers with contributor-level or higher permissions can exploit this by injecting arbitrary JavaScript code into pages or posts that use the vulnerable shortcode. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or data theft. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network attack vector, low attack complexity, requiring privileges but no user interaction, with a scope change and low impact on confidentiality and integrity, and no impact on availability. No patches or official fixes are currently linked, and no known exploits in the wild have been reported, but the vulnerability is publicly disclosed and enriched by CISA. This vulnerability is particularly concerning because contributor-level users are common in WordPress environments, and stored XSS can have persistent and widespread effects.
Potential Impact
The primary impact of CVE-2024-0963 is the potential for attackers with contributor-level access to inject malicious scripts that execute in the browsers of site visitors and administrators. This can lead to theft of authentication cookies, enabling session hijacking and unauthorized access escalation. It can also facilitate defacement, phishing, or distribution of malware through the compromised site. The vulnerability affects the confidentiality and integrity of user data and site content but does not directly affect availability. Organizations relying on the Calculated Fields Form plugin risk compromise of user accounts and sensitive data, especially in environments with multiple contributors or editors. The scope of affected systems is broad given WordPress's global popularity and the plugin's usage, potentially impacting websites ranging from small blogs to enterprise portals. The requirement for authenticated access limits exploitation to insiders or compromised accounts, but this is a common threat vector in CMS environments. The lack of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as proof-of-concept code may emerge.
Mitigation Recommendations
To mitigate CVE-2024-0963, organizations should first check for plugin updates from codepeople that address this vulnerability and apply them promptly once available. In the absence of an official patch, administrators should restrict contributor-level permissions to trusted users only and audit existing content for injected scripts. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script payloads in shortcode attributes can reduce risk. Additionally, site owners can sanitize user inputs at the application level by customizing the shortcode handler to enforce strict validation and escaping of the 'location' attribute. Monitoring logs for unusual contributor activity and scanning site content for injected scripts are also recommended. Educating contributors about safe content practices and limiting plugin usage to essential sites can further reduce exposure. Finally, consider disabling or replacing the Calculated Fields Form plugin with alternatives that follow secure coding practices until a fix is confirmed.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-01-26T17:32:12.072Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682d9819c4522896dcbd8d63
Added to database: 5/21/2025, 9:08:41 AM
Last enriched: 2/28/2026, 11:13:04 AM
Last updated: 3/25/2026, 5:59:25 PM
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.