CVE-2024-12591: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wbolt MagicPost – WordPress文章管理功能增强插件
The MagicPost plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wb_share_social shortcode in all versions up to, and including, 1.2.1 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-12591 is a stored cross-site scripting vulnerability in the MagicPost WordPress plugin (versions up to 1.2.1). The issue arises from improper neutralization of user-supplied attributes in the wb_share_social shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary JavaScript. This script executes in the context of any user who views the infected page, potentially leading to session hijacking or other script-based attacks. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4 (medium severity).
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or user session compromise. The vulnerability does not affect availability and requires authenticated access with low attack complexity.
Mitigation Recommendations
No official patch or remediation has been published by the vendor as of the current information. Users should monitor the vendor's advisory channels for updates. Until a fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the MagicPost plugin if feasible to prevent exploitation.
CVE-2024-12591: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wbolt MagicPost – WordPress文章管理功能增强插件
Description
The MagicPost plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wb_share_social shortcode in all versions up to, and including, 1.2.1 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-12591 is a stored cross-site scripting vulnerability in the MagicPost WordPress plugin (versions up to 1.2.1). The issue arises from improper neutralization of user-supplied attributes in the wb_share_social shortcode, allowing authenticated users with contributor or higher privileges to inject arbitrary JavaScript. This script executes in the context of any user who views the infected page, potentially leading to session hijacking or other script-based attacks. The vulnerability is classified under CWE-79 and has a CVSS 3.1 base score of 6.4 (medium severity).
Potential Impact
An attacker with contributor-level or higher access can inject persistent malicious scripts into pages via the vulnerable shortcode. These scripts execute in the browsers of users who visit the compromised pages, potentially leading to information disclosure or user session compromise. The vulnerability does not affect availability and requires authenticated access with low attack complexity.
Mitigation Recommendations
No official patch or remediation has been published by the vendor as of the current information. Users should monitor the vendor's advisory channels for updates. Until a fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the MagicPost plugin if feasible to prevent exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-12-12T21:34:41.606Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e43b7ef31ef0b59bfdb
Added to database: 2/25/2026, 9:48:51 PM
Last enriched: 4/9/2026, 6:26:09 AM
Last updated: 4/12/2026, 3:47:44 PM
Views: 23
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.