CVE-2025-24638 in Create with Code Plugininfo

Summary

by MITRE • 01/24/2025

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Pete Dring Create with Code allows DOM-Based XSS. This issue affects Create with Code: from n/a through 1.4.

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Analysis

by VulDB Data Team • 02/09/2025

This vulnerability represents a classic cross-site scripting flaw that specifically targets the web page generation process within the Create with Code platform. The issue manifests as an improper neutralization of input data during the dynamic generation of web content, creating opportunities for malicious actors to inject harmful scripts into the application's output. The vulnerability is classified as DOM-Based XSS, meaning the attack vector operates entirely within the client-side environment rather than being processed server-side. This particular weakness affects versions of Create with Code ranging from the initial release through version 1.4, indicating a prolonged period during which the application remained susceptible to this type of attack. The vulnerability stems from insufficient sanitization of user-provided input that gets directly incorporated into the Document Object Model without proper encoding or validation measures.

The technical implementation of this flaw allows attackers to manipulate the DOM structure by injecting malicious JavaScript code through input fields or parameters that are not adequately filtered. When users interact with the vulnerable application, their browsers execute the injected scripts in the context of the current page, potentially leading to unauthorized actions such as session hijacking, data exfiltration, or redirection to malicious sites. The DOM-based nature of this vulnerability means that the malicious script is executed as part of the page's JavaScript execution context rather than being reflected in HTTP responses, making it particularly challenging to detect through traditional server-side security measures. The impact is amplified because the vulnerability affects the core functionality of the web page generation process, potentially compromising the integrity of all dynamically created content within the application's interface.

The operational consequences of this vulnerability extend beyond simple script injection, as it can enable sophisticated attack patterns that leverage the application's legitimate functionality against its users. Attackers can exploit this weakness to steal user sessions, modify page content, or redirect users to phishing sites that appear legitimate. The vulnerability's presence in versions through 1.4 suggests that organizations using this software may have been exposed to these risks for an extended period without proper mitigation. The attack surface is particularly concerning given that the flaw exists in the core web generation mechanism, meaning that any user input that gets rendered in the browser could potentially serve as an entry point for exploitation. This type of vulnerability is categorized under CWE-79, which specifically addresses Cross-Site Scripting flaws, and aligns with ATT&CK technique T1203 for Exploitation for Client Execution, emphasizing the client-side execution aspect of such attacks.

Organizations should implement comprehensive input validation and output encoding mechanisms to address this vulnerability effectively. The recommended mitigations include implementing strict input sanitization that removes or encodes potentially dangerous characters before any content is rendered in the DOM. Additionally, employing Content Security Policy headers can provide an additional layer of protection by restricting the sources from which scripts can be executed within the application context. The implementation of proper escape sequences and HTML encoding for all user-provided content ensures that even if malicious input reaches the application, it cannot be executed as active code. Regular security updates and patch management protocols should be established to prevent similar vulnerabilities from persisting in future releases, while also conducting thorough code reviews focusing on input handling and DOM manipulation practices. The remediation process should include comprehensive testing of all user-facing interfaces to ensure that no additional injection vectors remain unaddressed, particularly focusing on dynamic content generation processes that interact with user input.

Responsible

Patchstack

Reservation

01/23/2025

Disclosure

01/24/2025

Moderation

accepted

CPE

ready

EPSS

0.00334

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!