CVE-2024-1791: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vickyagravat CodeMirror Blocks
The CodeMirror Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Code Mirror block in all versions up to, and including, 1.2.4 due to insufficient input sanitization and output escaping. 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-1791 is a stored cross-site scripting vulnerability in the CodeMirror Blocks WordPress plugin (versions up to 1.2.4). It results from improper neutralization of input during web page generation (CWE-79). Authenticated users with contributor or higher privileges can inject arbitrary web scripts via the Code Mirror block, which execute when other users access the injected pages. The vulnerability has a CVSS 3.1 score of 6.4, reflecting network attack vector, low attack complexity, and privileges required at the contributor level without user interaction. No vendor patch or official fix has been documented.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject and execute arbitrary JavaScript in the context of the affected WordPress site. This can lead to limited confidentiality and integrity impacts, such as session hijacking or content manipulation, but does not affect availability. The vulnerability requires authenticated access, limiting exposure to trusted users with contributor or higher roles. There are no known active exploits reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the CodeMirror Blocks plugin if possible. Monitor for updates from the vendor or plugin author regarding patches or mitigations.
CVE-2024-1791: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vickyagravat CodeMirror Blocks
Description
The CodeMirror Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Code Mirror block in all versions up to, and including, 1.2.4 due to insufficient input sanitization and output escaping. 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-1791 is a stored cross-site scripting vulnerability in the CodeMirror Blocks WordPress plugin (versions up to 1.2.4). It results from improper neutralization of input during web page generation (CWE-79). Authenticated users with contributor or higher privileges can inject arbitrary web scripts via the Code Mirror block, which execute when other users access the injected pages. The vulnerability has a CVSS 3.1 score of 6.4, reflecting network attack vector, low attack complexity, and privileges required at the contributor level without user interaction. No vendor patch or official fix has been documented.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject and execute arbitrary JavaScript in the context of the affected WordPress site. This can lead to limited confidentiality and integrity impacts, such as session hijacking or content manipulation, but does not affect availability. The vulnerability requires authenticated access, limiting exposure to trusted users with contributor or higher roles. There are no known active exploits reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the CodeMirror Blocks plugin if possible. Monitor for updates from the vendor or plugin author regarding patches or mitigations.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-02-22T19:39:32.127Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6d3eb7ef31ef0b56f53e
Added to database: 2/25/2026, 9:44:30 PM
Last enriched: 4/9/2026, 1:47:44 PM
Last updated: 4/11/2026, 4:56:29 PM
Views: 11
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.