CVE-2024-6848
The Post and Page Builder by BoldGrid – Visual Drag and Drop Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file uploads in all versions up to, and including, 1.26.6 due to insufficient input sanitization and output escaping affecting the boldgrid_canvas_image AJAX endpoint. 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 the SVG file.
- Score
- CVSS 3.1 6.4 Medium
- Status
- Analyzed - security@wordfence.com
- Published
- 2024-07-20
- Last modified
- 2026-04-08
- Weaknesses
- CWE-79
Affected products
- Post And Page Builder (Boldgrid)
- Post And Page Builder By Boldgrid Visual Drag And Drop Editor (Boldgrid)
References
- https://github.com/BoldGrid/post-and-page-builder/issues/612
- https://github.com/BoldGrid/post-and-page-builder/pull/613/commits/64c33a6d0c9dbb0151d3af5fee9e026df6c5a2f6
- https://plugins.trac.wordpress.org/browser/post-and-page-builder/tags/1.26.6/includes/class-boldgrid-editor-ajax.php#L3…
- https://wordpress.org/plugins/post-and-page-builder/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/4d5dcec8-fa36-43ab-9a35-0b391fe1d88e?source=cve