CVE-2024-50440 MEDIUM

CVE-2024-50440: WordPress CodePen Embedded Pens Shortcode plugin <= 1.0.2 - Cross Site Scripting (XSS) vulnerability

Vendor Chris Coyier
Product CodePen Embedded Pens Shortcode
Weakness CWE-79 · XSS
Published October 28, 2024
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 Chris Coyier CodePen Embedded Pens Shortcode codepen-embedded-pen-shortcode allows Stored XSS.This issue affects CodePen Embedded Pens Shortcode: from n/a through <= 1.0.2.

Explanation of Vulnerability in Simple Terms

02Summary

The CodePen Embedded Pens Shortcode plugin contains a cross-site scripting (XSS) vulnerability in versions up to 1.0.2. An authenticated user can inject malicious scripts through the shortcode that execute in other users' browsers when they view the affected page. The vulnerability requires user interaction and can affect site visitors across different security contexts.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view pages with the vulnerable shortcode.

Potential impact on your site

04Site Impact

Site visitors could have their sessions hijacked, credentials stolen, or be redirected to malicious sites via injected scripts.

Conditions required to exploit

05Prerequisites

Attacker must have low-level site access (e.g., contributor role) and a victim must view the affected page.

Key dates

06Disclosure timeline

October 28, 2024 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE