Skip to main content

Happy Addons CVE-2025-14635

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-23 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level account
  2. Delivery
    Inject script via ha_page_custom_js
  3. Exploit
    Store malicious Custom JS on page
  4. Execution
    Admin/user views injected page
  5. Impact
    Script executes in victim browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with Contributor-level access or above on a site running Happy Addons for Elementor version 3.20.3 or earlier; the attacker then supplies malicious script in the 'ha_page_custom_js' parameter, which the plugin fails to sanitize/escape and fails to restrict to Administrators as intended. The stored payload executes only when a user subsequently accesses the injected page, so the limiting factors are: (1) the attacker must already hold a trusted Contributor+ role (excluding anonymous attackers), and (2) a victim must view the affected page for the script to fire. Sites with no untrusted Contributor-or-higher users face substantially reduced real-world exposure.

Impact

This is a medium-severity stored XSS (CVSS 6.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) that represents a moderate, not urgent, priority. The signals are internally consistent and point to limited real-world risk: the EPSS score is low at 0.29% (20th percentile), there is no CISA KEV listing, and no public exploit code is identified, so there is no public exploit identified at time of analysis. The CVSS vector confirms network vector and low complexity but requires privileges (PR:L), meaning an attacker must already hold a Contributor-level (or higher) authenticated account on the target site - a meaningful barrier that excludes anonymous internet-wide exploitation. The scope change (S:C) and the described privilege-boundary violation (a Contributor injecting Custom JS that is intended to be restricted to Administrators, executing in the browser of anyone who views the page) are the core of why this matters: it enables privilege escalation toward admin-context script execution. The low C:L/I:L/A:N impact reflects that this is script injection in a user's browser session rather than direct server compromise. No key data is conflicting; the main limiting factor - the requirement for a pre-existing trusted (Contributor+) account - is what keeps this from being a widespread, automatable threat. Prioritize patching on multi-author sites where untrusted users hold Contributor roles; deprioritize on single-admin sites.

Exploit ScenarioDerived

An attacker who has obtained or been granted a Contributor-level WordPress account crafts a page and injects malicious JavaScript through the 'ha_page_custom_js' parameter, which the plugin fails to restrict to Administrators. When an administrator or other user previews or visits the page, the script executes in their browser session, potentially enabling session/cookie theft or admin-context actions. No public proof-of-concept exploit is identified at time of analysis, and the attack requires an authenticated Contributor account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Stored cross-site scripting in the Happy Addons for Elementor WordPress plugin (all versions up to and including 3.20.3) lets an authenticated user with Contributor-level access or higher inject arbitrary JavaScript through the 'ha_page_custom_js' parameter, which persists in page content and executes in the browser of anyone who later views that page. The flaw combines missing input sanitization and output escaping with a broken role restriction - Custom JS is intended to be Administrator-only but is reachable by lower-privileged accounts. Rated CVSS 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) with EPSS of 0.29% (20th percentile); no public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and real-world exposure is materially lower on sites that do not grant Contributor-or-higher accounts to untrusted users.

RemediationAI

Primary fix: update Happy Addons for Elementor to a release containing changeset 3421733 (https://plugins.trac.wordpress.org/changeset/3421733/) - the upstream fix is available via that commit/changeset, but a specific patched version number is not independently confirmed in the supplied data, so verify the changelog or the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/16e7adef-68ab-4dd6-bd80-252622cfe705?source=cve) before treating any given version as safe. Until the update is applied: audit the wp_postmeta table for 'ha_page_custom_js' rows on pages authored by non-Administrators and remove any that contain script tags - side effect is that legitimate admin-authored custom JS on those pages will also be lost, so back up the rows first; restrict or temporarily suspend Contributor-and-above accounts you do not fully trust, and review role assignments for unnecessary Editor/Author/Contributor grants - trade-off is reduced editorial throughput; and, if custom JS is not in active use, disable the plugin's Custom JS extension entirely (or deactivate Happy Addons on high-value sites) - this removes the attack path at the cost of losing the feature and any theme/builder elements that depend on it. After patching, re-scan existing content, since stored payloads survive a plugin update.

Affected ProductsAI

Happy Addons for Elementor (WordPress plugin, slug happy-elementor-addons) - every release up to and including 3.20.3 is affected; the vulnerable code paths are visible in the 3.20.2 tag at extensions/custom-js.php lines 60 and 76, and the fix landed in plugin changeset 3421733 (https://plugins.trac.wordpress.org/changeset/3421733/). The vendor advisory with full version details is the Wordfence threat-intel entry at https://www.wordfence.com/threat-intel/vulnerabilities/id/16e7adef-68ab-4dd6-bd80-252622cfe705?source=cve. No CPE strings were supplied in the intelligence feed, so affected-site enumeration should be done by plugin slug and version rather than by CPE matching. Any WordPress installation with the plugin active plus at least one Contributor-or-higher account outside a fully trusted user base should be considered in scope.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is a classic CWE-79 stored/persistent cross-site scripting in a WordPress plugin extension. Happy Addons ships a 'Custom JS' feature implemented in extensions/custom-js.php that reads the per-page post meta value 'ha_page_custom_js' and emits it into the rendered page. Per the referenced source lines (L60 and L76 of the 3.20.2 tag), the value is neither sanitized on save (no wp_kses / script-stripping of the meta input) nor escaped on output, so raw markup and script content reach the browser verbatim. Compounding this is an access-control gap: the feature is meant to be restricted to Administrators, but the save path is reachable by Contributor-and-above roles, which normally cannot publish unfiltered HTML. The CVSS vector reflects Scope:Changed (S:C) because script executing in the context of the WordPress site can affect resources beyond the vulnerable component's privileges - for example, acting with an administrator's session when an admin previews or visits the injected page. Taxonomy-wise this is CWE-79 with a secondary CWE-863/CWE-269-style privilege/role enforcement weakness layered on top.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Requires an authenticated Contributor account (PR:L) over the network with low complexity; stored payload runs without attacker UI, and injecting into an admin-restricted feature crosses a privilege boundary (S:C) with limited C/I impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The Happy Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'ha_page_custom_js' parameter in all versions up to, and including, 3.20.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, despite the intended role restriction of Custom JS to Administrators.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular Elementor add-on plugin, common but not on every WordPress site
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy