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-9204: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in nerdpressteam Smart Custom 404 Error Page

0
Medium
VulnerabilityCVE-2024-9204cvecve-2024-9204cwe-79
Published: Fri Oct 04 2024 (10/04/2024, 02:04:55 UTC)
Source: CVE Database V5
Vendor/Project: nerdpressteam
Product: Smart Custom 404 Error Page

Description

CVE-2024-9204 is a reflected Cross-Site Scripting (XSS) vulnerability in the Smart Custom 404 Error Page WordPress plugin by nerdpressteam, affecting all versions up to 11. 4. 7. The flaw arises from improper sanitization and escaping of the $_SERVER['REQUEST_URI'] variable, allowing unauthenticated attackers to inject malicious scripts. Exploitation requires tricking a user into clicking a crafted link, leading to script execution in the victim's browser. This vulnerability impacts confidentiality and integrity but does not affect availability. The CVSS 3. 1 base score is 6. 1 (medium severity), reflecting network attack vector, no privileges required, but user interaction needed. No known exploits are currently reported in the wild.

AI-Powered Analysis

AILast updated: 02/25/2026, 23:06:52 UTC

Technical Analysis

CVE-2024-9204 is a reflected Cross-Site Scripting vulnerability identified in the Smart Custom 404 Error Page plugin for WordPress, developed by nerdpressteam. This plugin, widely used to customize 404 error pages, improperly handles user input from the $_SERVER['REQUEST_URI'] variable. Specifically, it fails to adequately sanitize and escape this input before embedding it into the generated error page, violating secure coding practices against CWE-79 (Improper Neutralization of Input During Web Page Generation). As a result, an attacker can craft a malicious URL containing executable JavaScript code within the URI. When a victim clicks this URL, the malicious script is reflected back and executed in their browser context. This attack vector requires no authentication but does require user interaction (clicking the link). The vulnerability affects all plugin versions up to and including 11.4.7. The CVSS 3.1 score of 6.1 indicates a medium severity, with the attack vector being network-based, no privileges required, user interaction required, and a scope change possible due to script execution in the user's browser. The impact primarily concerns confidentiality and integrity, as attackers can steal session cookies, perform actions on behalf of the user, or manipulate displayed content. No patches or fixes are currently linked, and no known exploits have been reported in the wild, but the vulnerability is publicly disclosed and should be addressed promptly.

Potential Impact

The primary impact of CVE-2024-9204 is on the confidentiality and integrity of users interacting with affected WordPress sites. Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, theft of sensitive information such as cookies or credentials, and unauthorized actions performed on behalf of the user. While availability is not directly affected, the reputational damage to organizations can be significant if users are exposed to phishing or malware delivery via the injected scripts. Since the vulnerability is reflected XSS, it requires user interaction, limiting automated exploitation but still posing a serious risk especially for sites with high traffic or sensitive user data. Organizations relying on the Smart Custom 404 Error Page plugin may face increased risk of targeted attacks, especially if attackers craft phishing campaigns leveraging this vulnerability. The scope of affected systems is broad given the plugin's usage in WordPress environments worldwide, particularly in small to medium businesses and personal websites that may not have rigorous security monitoring. The lack of an official patch at the time of disclosure increases the urgency for interim mitigations.

Mitigation Recommendations

To mitigate CVE-2024-9204, organizations should first check for any official patches or updates from nerdpressteam and apply them immediately once available. In the absence of a patch, administrators can implement the following specific measures: 1) Disable or temporarily deactivate the Smart Custom 404 Error Page plugin until a fix is released. 2) Employ a Web Application Firewall (WAF) with rules to detect and block suspicious URI patterns containing script tags or typical XSS payloads targeting the 404 error page. 3) Implement Content Security Policy (CSP) headers that restrict the execution of inline scripts and untrusted sources, reducing the impact of injected scripts. 4) Sanitize and validate all user inputs at the server level, especially those reflected in error pages, by customizing or overriding the plugin’s error page rendering code if feasible. 5) Educate users and administrators about the risks of clicking unknown or suspicious links to reduce the chance of successful exploitation. 6) Monitor web server logs for unusual request patterns or repeated attempts to exploit the vulnerability. 7) Consider using security plugins that provide XSS protection or input filtering for WordPress sites. These targeted mitigations go beyond generic advice by focusing on the specific plugin behavior and attack vector.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-09-26T14:24:43.699Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b43b7ef31ef0b55098d

Added to database: 2/25/2026, 9:36:03 PM

Last enriched: 2/25/2026, 11:06:52 PM

Last updated: 2/26/2026, 9:13:00 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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats