Medium · 6.4 WordPress CVE-2026-97340 cbd47a59-5a9e-4eb2-9152-2cd47fc38ae2
Avada Theme Stored XSS Flaw Lets Subscribers Inject Scripts via Author Profile Fields
A stored Cross-Site Scripting vulnerability in the Avada WordPress theme (up to 7.16.1) allows authenticated users with Subscriber-level access to inject scripts via author profile social link fields. Fixed in version 7.16.2.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A stored Cross-Site Scripting (XSS) vulnerability has been identified in the Avada theme for WordPress, a widely used commercial theme for WordPress and WooCommerce sites. The flaw, tracked as CVE-2026-97340, affects the handling of user profile fields tied to author archive pages and was fixed in version 7.16.2.
What Happened
A stored Cross-Site Scripting vulnerability was identified in the Avada theme for WordPress affecting versions up to and including 7.16.1. The issue resides in social link contact-method fields on user profiles (author_facebook, author_twitter, author_linkedin, author_dribble, author_whatsapp, author_email), which are registered via the WordPress user_contactmethods filter. When rendered on the author archive page, these values are output inside an anchor href attribute using only esc_attr() in Avada's Fusion_Social_Icon::get_markup() function. This escaping handles HTML metacharacters but does not block dangerous URL schemes such as javascript:, allowing malicious script URLs to be stored and later executed.
Technical Cause
The root cause is improper neutralization of input during web page generation (CWE-79). Avada's Fusion_Social_Icon::get_markup() function uses esc_attr() to sanitize social profile URL fields before placing them into an HTML anchor href attribute. esc_attr() escapes special HTML characters but does not validate or strip unsafe URL schemes like javascript:. As a result, an attacker who sets one of these profile fields to a javascript: URL can have that payload stored and later rendered as a clickable link on the public author archive page.
Why It Matters
Because the payload is stored in the user profile and rendered on a public-facing author archive page, any visitor who clicks the crafted social icon link can trigger execution of the injected script in their browser. This could be used to perform actions in the context of the visiting user's session, depending on what the script is designed to do. The vulnerability requires an authenticated attacker account, but the barrier to obtaining one is low since Subscriber-level access is sufficient — a role often available via open registration on many WordPress sites.
Who Is Affected
Any WordPress site running the Avada theme (also listed in the WordPress.org theme repository as 'Avada | Website Builder For WordPress & WooCommerce') in a version up to and including 7.16.1 is affected. Exploitation requires an attacker to hold at least a Subscriber-level account, and successful script execution additionally requires that a visitor clicks the malicious social icon link, and that the site's 'Open Social Icons in a New Window' setting is turned Off.
Affected Versions
Versions of Avada from 0 up to and including 7.16.1 are affected. The vulnerability was fixed in version 7.16.2.
Fixes and Mitigation
The vendor has released version 7.16.2 of the Avada theme, which addresses this vulnerability. Site owners should update to this version to remediate the issue.
Recommended Action
Update the Avada theme to version 7.16.2 or later as soon as possible. As additional precautions, site administrators may consider restricting user registration or reviewing existing Subscriber-level accounts for suspicious profile field content, and enabling 'Open Social Icons in a New Window' to reduce the likelihood of successful exploitation while patching is pending.
Discovery and Timeline
The vulnerability was reported by researcher Muhamad Visat. It was published on October 1, 2026, and the Wordfence Intelligence advisory was issued on October 9, 2026.
PatchBriefing score
6.4 / 10 · Medium
Official CVSS: 6.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS 0.0026 (11 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- Avada < 7.16.2
- vulnerable
- ≥ 7.16.2
- patched
- Avada | Website Builder For WordPress & WooCommerce *-7.16.1
- vulnerable
- ≥ 7.16.2
- patched
Reported fixes
The vendor has released version 7.16.2 of the Avada theme, which addresses this vulnerability. Site owners should update to this version to remediate the issue.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
WPVulnerability database
-
NVD (NIST) database
-
Wordfence Intelligence scanner
Revision history
- Generated
- Generated
- Published
- Generated