CVE-2024-56245 MEDIUM

CVE-2024-56245: WordPress Premium Blocks plugin <= 2.1.42 - Cross Site Scripting (XSS) vulnerability

Vendor Leap13
Product Premium Blocks – Gutenberg Blocks for WordPress
Weakness CWE-79 · XSS
Published January 2, 2025
Last update April 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Leap13 Premium Blocks – Gutenberg Blocks for WordPress premium-blocks-for-gutenberg allows Stored XSS.This issue affects Premium Blocks – Gutenberg Blocks for WordPress: from n/a through <= 2.1.42.

Explanation of Vulnerability in Simple Terms

02Summary

Premium Blocks for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 2.1.42. An authenticated user with low privileges can inject malicious scripts into block content. When other users view the affected page, the script executes in their browser, potentially compromising their session or stealing data. The vulnerability requires user interaction to trigger.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view the affected page.

Potential impact on your site

04Site Impact

Authenticated attackers can deface pages, steal admin session cookies, or redirect visitors to malicious sites.

Conditions required to exploit

05Prerequisites

Attacker must be logged in with at least low-level WordPress privileges and trick a user into viewing the malicious content.

Key dates

06Disclosure timeline

January 2, 2025 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE