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.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-17516 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 08 Apr 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Vickyagravat
Vickyagravat codemirror Blocks
CPEs cpe:2.3:a:vickyagravat:codemirror_blocks:*:*:*:*:*:wordpress:*:*
Vendors & Products Vickyagravat
Vickyagravat codemirror Blocks

Wed, 08 Apr 2026 17:45:00 +0000

Type Values Removed Values Added
Title CodeMirror Blocks <= 1.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:52:47.829Z

Reserved: 2024-02-22T19:39:32.127Z

Link: CVE-2024-1791

cve-icon Vulnrichment

Updated: 2024-08-01T18:48:21.903Z

cve-icon NVD

Status : Modified

Published: 2024-02-28T09:15:43.530

Modified: 2026-04-08T18:20:50.140

Link: CVE-2024-1791

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses