CVE-2024-12459: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ganohr Ganohrs Toggle Shortcode
The Ganohrs Toggle Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'toggle' shortcode in all versions up to, and including, 0.2.4 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-12459 is a stored cross-site scripting vulnerability in the Ganohrs Toggle Shortcode plugin for WordPress, affecting all versions up to 0.2.4. The issue arises from improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping of user-supplied attributes in the 'toggle' shortcode. This allows authenticated attackers with contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of users viewing the injected pages. The vulnerability is classified under CWE-79 and has a CVSS v3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, scope change, and limited confidentiality and integrity impact without availability impact.
Potential Impact
An attacker with contributor-level or higher access to a WordPress site using the vulnerable Ganohrs Toggle Shortcode plugin can inject persistent malicious scripts. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability impacts confidentiality and integrity but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Site administrators should consider restricting contributor-level access until a fix is released or remove/disable the Ganohrs Toggle Shortcode plugin if it is not essential. Monitor the vendor's advisory channels for updates regarding patches or official remediation guidance. Avoid using the vulnerable shortcode with untrusted input.
CVE-2024-12459: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ganohr Ganohrs Toggle Shortcode
Description
The Ganohrs Toggle Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'toggle' shortcode in all versions up to, and including, 0.2.4 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-12459 is a stored cross-site scripting vulnerability in the Ganohrs Toggle Shortcode plugin for WordPress, affecting all versions up to 0.2.4. The issue arises from improper neutralization of input during web page generation, specifically insufficient input sanitization and output escaping of user-supplied attributes in the 'toggle' shortcode. This allows authenticated attackers with contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of users viewing the injected pages. The vulnerability is classified under CWE-79 and has a CVSS v3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, scope change, and limited confidentiality and integrity impact without availability impact.
Potential Impact
An attacker with contributor-level or higher access to a WordPress site using the vulnerable Ganohrs Toggle Shortcode plugin can inject persistent malicious scripts. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability impacts confidentiality and integrity but does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Site administrators should consider restricting contributor-level access until a fix is released or remove/disable the Ganohrs Toggle Shortcode plugin if it is not essential. Monitor the vendor's advisory channels for updates regarding patches or official remediation guidance. Avoid using the vulnerable shortcode with untrusted input.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-10T21:34:37.875Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e3cb7ef31ef0b59b6c9
Added to database: 2/25/2026, 9:48:44 PM
Last enriched: 4/9/2026, 6:22:47 AM
Last updated: 4/11/2026, 6:39:11 PM
Views: 16
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.