CVE-2024-10014: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tiandi Flat UI Button
The Flat UI Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's flatbtn shortcode in version 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-10014 identifies a stored cross-site scripting (XSS) vulnerability in the Flat UI Button plugin for WordPress, specifically version 1.0. The vulnerability stems from CWE-79: improper neutralization of input during web page generation. The plugin's flatbtn shortcode fails to properly sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored persistently in the website content, it executes automatically whenever any user accesses the compromised page, without requiring additional user interaction. This can lead to a range of attacks including session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or defacement of the website. 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, privileges required at contributor level, no user interaction needed, scope changed, and low impact on confidentiality and integrity with no impact on availability. No patches or exploits are currently publicly available, but the vulnerability is published and should be addressed promptly. The flaw is particularly concerning in multi-user WordPress environments where contributors can add content but are not fully trusted. The vulnerability highlights the importance of rigorous input validation and output encoding in WordPress plugins to prevent XSS attacks.
Potential Impact
The impact of CVE-2024-10014 is significant for organizations using the Flat UI Button plugin on WordPress sites with multiple contributors. Exploitation allows an attacker with contributor-level privileges to inject persistent malicious scripts that execute in the browsers of all users visiting the affected pages. This can lead to session hijacking, credential theft, unauthorized actions performed with victim user privileges, and website defacement. The scope change in the CVSS vector indicates that the vulnerability affects resources beyond the attacker’s privileges, potentially impacting administrators or other high-privilege users. Although the confidentiality and integrity impacts are rated low, the ability to execute arbitrary scripts can be leveraged for further attacks, including phishing or spreading malware. The vulnerability does not affect availability directly but can degrade user trust and site reputation. Organizations with active content contributors and public-facing WordPress sites are at higher risk, especially if they do not have strict content review processes or additional security controls. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, as attackers may develop exploits once the vulnerability is widely known.
Mitigation Recommendations
To mitigate CVE-2024-10014, organizations should first check for updates or patches from the plugin vendor and apply them immediately once available. In the absence of a patch, administrators should restrict contributor-level access to trusted users only and implement strict content review workflows to detect and remove malicious shortcode usage. Employing a Web Application Firewall (WAF) with rules to detect and block suspicious script injections in shortcode attributes can provide interim protection. Additionally, site owners should enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Regularly scanning the website for injected scripts or unusual shortcode content using security plugins or manual audits is recommended. Educating contributors about safe content practices and monitoring user activity can reduce the risk of insider threats. Finally, consider disabling or replacing the vulnerable plugin if it is not essential or if no timely patch is forthcoming.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, India, Brazil, France, Japan, Netherlands
CVE-2024-10014: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tiandi Flat UI Button
Description
The Flat UI Button plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's flatbtn shortcode in version 1.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, 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
CVE-2024-10014 identifies a stored cross-site scripting (XSS) vulnerability in the Flat UI Button plugin for WordPress, specifically version 1.0. The vulnerability stems from CWE-79: improper neutralization of input during web page generation. The plugin's flatbtn shortcode fails to properly sanitize and escape user-supplied attributes, allowing authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. Because the malicious script is stored persistently in the website content, it executes automatically whenever any user accesses the compromised page, without requiring additional user interaction. This can lead to a range of attacks including session hijacking, theft of sensitive information, unauthorized actions performed on behalf of users, or defacement of the website. 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, privileges required at contributor level, no user interaction needed, scope changed, and low impact on confidentiality and integrity with no impact on availability. No patches or exploits are currently publicly available, but the vulnerability is published and should be addressed promptly. The flaw is particularly concerning in multi-user WordPress environments where contributors can add content but are not fully trusted. The vulnerability highlights the importance of rigorous input validation and output encoding in WordPress plugins to prevent XSS attacks.
Potential Impact
The impact of CVE-2024-10014 is significant for organizations using the Flat UI Button plugin on WordPress sites with multiple contributors. Exploitation allows an attacker with contributor-level privileges to inject persistent malicious scripts that execute in the browsers of all users visiting the affected pages. This can lead to session hijacking, credential theft, unauthorized actions performed with victim user privileges, and website defacement. The scope change in the CVSS vector indicates that the vulnerability affects resources beyond the attacker’s privileges, potentially impacting administrators or other high-privilege users. Although the confidentiality and integrity impacts are rated low, the ability to execute arbitrary scripts can be leveraged for further attacks, including phishing or spreading malware. The vulnerability does not affect availability directly but can degrade user trust and site reputation. Organizations with active content contributors and public-facing WordPress sites are at higher risk, especially if they do not have strict content review processes or additional security controls. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, as attackers may develop exploits once the vulnerability is widely known.
Mitigation Recommendations
To mitigate CVE-2024-10014, organizations should first check for updates or patches from the plugin vendor and apply them immediately once available. In the absence of a patch, administrators should restrict contributor-level access to trusted users only and implement strict content review workflows to detect and remove malicious shortcode usage. Employing a Web Application Firewall (WAF) with rules to detect and block suspicious script injections in shortcode attributes can provide interim protection. Additionally, site owners should enable Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Regularly scanning the website for injected scripts or unusual shortcode content using security plugins or manual audits is recommended. Educating contributors about safe content practices and monitoring user activity can reduce the risk of insider threats. Finally, consider disabling or replacing the vulnerable plugin if it is not essential or if no timely patch is forthcoming.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-10-15T23:58:00.220Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6deab7ef31ef0b5909ed
Added to database: 2/25/2026, 9:47:22 PM
Last enriched: 2/26/2026, 2:30:09 PM
Last updated: 4/12/2026, 3:48:16 PM
Views: 21
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.