CVE-2024-1791
MEDIUM
5.4
CVSS 3.1
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.
Affected WordPress components
-
CodeMirror Blocks Plugin · wp-codemirror-blockUp to and including 1.2.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- vickyagravat CodeMirror Blocks — Up to and including 1.2.4
- vickyagravat codemirror_blocks — Before 2.0.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3057710%40wp-codemirror-block&new=3057710%40wp-codemirror-block&sfp_email=&sfph_mail=
- wordpress.org https://wordpress.org/plugins/wp-codemirror-block/ Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/52569aac-1e9e-40fb-9ff4-5eeb7940375d?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record