Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : May 17, 2026

CVE-2024-13362: Freemius <= 2.10.1 – Reflected DOM-Based Cross-Site Scripting via url Parameter (dynamic-copyright-year)

Severity Medium (CVSS 6.1)
CWE 79
Vulnerable Version 1.0.4
Patched Version
Disclosed April 29, 2026

Analysis Overview

Atomic Edge analysis of CVE-2024-13362 (metadata-based):
This vulnerability is a Reflected DOM-Based Cross-Site Scripting (XSS) found in the Freemius framework (version <= 2.10.1), affecting multiple WordPress plugins and themes that embed it, including the "Dynamic Copyright Year" plugin (versions <= 1.0.4). The attack vector involves the 'url' parameter, which is insufficiently sanitized and escaped, allowing unauthenticated attackers to inject arbitrary JavaScript that executes when a victim clicks a crafted link.

Root Cause: Based on the CWE-79 classification and description, the root cause stems from improper neutralization of the 'url' parameter during web page generation. Atomic Edge research infers that the vulnerable code likely retrieves the 'url' parameter from user input (e.g., via $_GET or $_POST) and directly embeds it into a DOM element (e.g., for redirect or tracking purposes) without applying proper sanitization (like esc_url_raw) or output escaping (like esc_js or json_encode). Without a code diff, this conclusion is inferred from the vulnerability type and WordPress plugin conventions.

Exploitation: An unauthenticated attacker can craft a malicious URL that includes a 'url' parameter containing a JavaScript payload, such as: ?url=javascript:alert(document.cookie). When a victim visits this crafted URL and the Freemius script processes the parameter, it injects the payload into the DOM, triggering XSS. The attack requires user interaction (clicking a link), but no authentication is needed. The likely endpoint is any page where Freemius is loaded and uses the 'url' parameter, possibly via an AJAX handler or inline script.

Remediation: The patched version (1.1) likely validates the 'url' parameter against an allowed list of URL schemes (e.g., http, https) using functions like wp_http_validate_url or esc_url_raw. The output should be escaped with esc_js or encoded via json_encode before insertion into JavaScript. Plugin administrators should update all plugins and themes using Freemius to version 2.10.2 or later.

Impact: Successful exploitation allows an attacker to execute arbitrary JavaScript in the victim's browser within the WordPress context. This can lead to theft of session cookies, redirection to malicious sites, defacement, or extraction of sensitive data displayed on the page. The CVSS score of 6.1 (Medium) reflects the need for user interaction and the limited impact on confidentiality and integrity.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2024-13362 (metadata-based)
# Blocks reflected DOM-XSS via the 'url' parameter by detecting javascript: scheme and common XSS payloads
SecRule REQUEST_URI "@contains ?" "id:20262001,phase:1,deny,status:403,chain,msg:'CVE-2024-13362 - Reflected XSS via url parameter',severity:'CRITICAL',tag:'CVE-2024-13362'"
SecRule ARGS:url "@rx (?:javascript|data|vbscript|onw+)[sS]*" "t:lowercase,t:urlDecodeUni,chain"
SecRule ARGS:url "@rx [<>]" "t:lowercase"

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School