CVE-2022-4487
WordPress vulnerability analysis and mitigation

Overview

The Easy Accordion WordPress plugin before version 2.2.0 contains a stored Cross-Site Scripting (XSS) vulnerability identified as CVE-2022-4487. The vulnerability was discovered and disclosed on December 23, 2022. The plugin fails to properly validate and escape certain shortcode attributes before outputting them back in the page, affecting WordPress installations using the vulnerable plugin versions (WPScan).

Technical details

The vulnerability allows users with privileges as low as contributor to perform Stored Cross-Site Scripting attacks by manipulating shortcode attributes. The vulnerability has been assigned a CVSS score of 6.8 (medium severity) and is classified under CWE-79. Example exploit vectors include malicious shortcode inputs such as [efaccordion id='"); alert(1); jQuery("'] and [efaccordion id='" onmouseover="alert(1)" style="background:red;width:100px;height:100px;'] (WPScan).

Impact

The vulnerability could be exploited to execute arbitrary JavaScript code in the context of other users' browsers, particularly targeting high-privilege users such as administrators. This could potentially lead to unauthorized actions being performed on behalf of the targeted users (WPScan).

Exploitability

The vulnerability can be exploited by users with contributor-level access or higher by inserting malicious JavaScript code through shortcode attributes. The attack vector requires the attacker to have an authenticated account on the WordPress installation (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in Easy Accordion version 2.2.0. Site administrators are advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management