CVE-2024-11330 MEDIUM

CVE-2024-11330: Custom CSS, JS & PHP <= 2.3.0 - Reflected Cross-Site Scripting

Vendor Wpcodefactory
Product Custom CSS, JS & PHP
Weakness CWE-79 · XSS
Published November 23, 2024
Last update April 8, 2026

CVSS base score

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

CVSS vector

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

What the vulnerability does

01Description

The Custom CSS, JS & PHP plugin for WordPress is vulnerable to Reflected Cross-Site Scripting due to the use of add_query_arg & remove_query_arg without appropriate escaping on the URL in all versions up to, and including, 2.3.0. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Explanation of Vulnerability in Simple Terms

02Summary

The Custom CSS, JS & PHP plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability in versions up to 2.3.0. An attacker can inject malicious JavaScript that executes in the browsers of site visitors. The vulnerability requires user interaction—typically a victim must visit a page containing the injected code. The impact is limited to session hijacking or credential theft from affected users.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in visitors' browsers when they view affected pages.

Potential impact on your site

04Site Impact

Visitor sessions and credentials can be compromised if they view pages with injected malicious scripts.

Conditions required to exploit

05Prerequisites

No authentication required. A victim must visit a page containing the attacker's injected code.

Key dates

06Disclosure timeline

November 23, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE