CVE-2024-12207: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in otwthemes Toggles Shortcode and Widget
The Toggles Shortcode and Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘content’ parameter in all versions up to, and including, 1.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI Analysis
Technical Summary
CVE-2024-12207 is a stored cross-site scripting vulnerability (CWE-79) in the Toggles Shortcode and Widget plugin for WordPress by otwthemes. It affects all versions up to 1.14 and occurs due to improper neutralization of input in the 'content' parameter. Authenticated users with administrator privileges can inject malicious scripts that execute in the context of users visiting the injected pages. This vulnerability specifically impacts multi-site WordPress installations or those with unfiltered_html disabled. The CVSS 3.1 base score is 4.4, reflecting a medium severity with network attack vector, high attack complexity, and requiring administrator privileges without user interaction.
Potential Impact
An authenticated attacker with administrator-level access on affected WordPress multi-site installations or where unfiltered_html is disabled can inject persistent malicious scripts. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or session hijacking. The impact is limited by the requirement for administrator privileges and specific WordPress configurations.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisories for updates. Until a fix is released, restrict administrator access to trusted users only and consider disabling or removing the Toggles Shortcode and Widget plugin in multi-site environments or where unfiltered_html is disabled to prevent exploitation.
CVE-2024-12207: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in otwthemes Toggles Shortcode and Widget
Description
The Toggles Shortcode and Widget plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘content’ parameter in all versions up to, and including, 1.14 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-12207 is a stored cross-site scripting vulnerability (CWE-79) in the Toggles Shortcode and Widget plugin for WordPress by otwthemes. It affects all versions up to 1.14 and occurs due to improper neutralization of input in the 'content' parameter. Authenticated users with administrator privileges can inject malicious scripts that execute in the context of users visiting the injected pages. This vulnerability specifically impacts multi-site WordPress installations or those with unfiltered_html disabled. The CVSS 3.1 base score is 4.4, reflecting a medium severity with network attack vector, high attack complexity, and requiring administrator privileges without user interaction.
Potential Impact
An authenticated attacker with administrator-level access on affected WordPress multi-site installations or where unfiltered_html is disabled can inject persistent malicious scripts. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or session hijacking. The impact is limited by the requirement for administrator privileges and specific WordPress configurations.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisories for updates. Until a fix is released, restrict administrator access to trusted users only and consider disabling or removing the Toggles Shortcode and Widget plugin in multi-site environments or where unfiltered_html is disabled to prevent exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-04T17:45:37.788Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e31b7ef31ef0b597850
Added to database: 2/25/2026, 9:48:33 PM
Last enriched: 4/9/2026, 12:38:33 PM
Last updated: 4/12/2026, 3:35:01 AM
Views: 22
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.