Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-37960: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Chris Coyier CodePen Embedded Pens Shortcode

0
Medium
VulnerabilityCVE-2024-37960cvecve-2024-37960cwe-79
Published: Sat Jul 20 2024 (07/20/2024, 08:07:25 UTC)
Source: CVE Database V5
Vendor/Project: Chris Coyier
Product: CodePen Embedded Pens Shortcode

Description

CVE-2024-37960 is a stored cross-site scripting (XSS) vulnerability in the CodePen Embedded Pens Shortcode developed by Chris Coyier. The issue arises from improper neutralization of input during web page generation, allowing malicious scripts to be stored and executed in users' browsers. This vulnerability affects versions up to 1. 0. 0. The CVSS score of 6. 5 indicates a medium severity with potential impacts on confidentiality, integrity, and availability. No official patch or remediation guidance is currently available from the vendor. There are no known exploits in the wild at this time.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/29/2026, 04:52:21 UTC

Technical Analysis

This vulnerability (CVE-2024-37960) involves improper input sanitization in the CodePen Embedded Pens Shortcode, leading to stored cross-site scripting (CWE-79). An attacker could inject malicious scripts that are stored and later executed in the context of users visiting affected pages. The vulnerability affects versions up to 1.0.0 of the shortcode. The CVSS 3.1 vector indicates network attack vector, low attack complexity, requiring privileges and user interaction, with a scope change and partial impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation could allow an attacker to execute arbitrary scripts in the context of users' browsers, potentially leading to data theft, session hijacking, or other malicious actions affecting confidentiality, integrity, and availability of the affected system. However, no known exploits have been reported in the wild.

Mitigation Recommendations

No official patch or remediation is currently available. Users and administrators should monitor the vendor's advisory channels for updates. Until a fix is released, consider restricting usage of the affected shortcode or implementing additional input sanitization and output encoding controls at the application level to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2024-06-10T21:15:28.848Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f165a2cbff5d86104b1170

Added to database: 4/29/2026, 1:57:54 AM

Last enriched: 4/29/2026, 4:52:21 AM

Last updated: 4/29/2026, 6:07:18 AM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses