CVE-2026-18988: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shapedplugin Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ
The Easy Accordion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'accordionTitleTag' block attribute in versions up to, and including, 3.1.8. This is due to insufficient input sanitization and output escaping in the accordion_header_renderer() function, which emits the attacker-supplied tag name using esc_attr() in an HTML tag-name context instead of tag_escape(). 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.
AI Analysis
Technical Summary
CVE-2026-18988 is a stored cross-site scripting vulnerability in the Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ WordPress plugin, affecting versions up to 3.1.8. The vulnerability stems from insufficient input sanitization and output escaping in the accordion_header_renderer() function, which improperly uses esc_attr() instead of tag_escape() for the 'accordionTitleTag' block attribute. Authenticated attackers with contributor-level privileges or higher can inject arbitrary scripts that execute when users view the compromised pages.
Potential Impact
An attacker with contributor-level access or higher can inject malicious scripts into pages via the vulnerable attribute, leading to cross-site scripting attacks. This can result in the execution of arbitrary scripts in the context of users visiting the affected pages, potentially compromising user data or session integrity. The CVSS score of 6.4 reflects a medium severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict contributor-level access to trusted users only and consider disabling or replacing the plugin if possible to mitigate risk.
CVE-2026-18988: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shapedplugin Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ
Description
The Easy Accordion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'accordionTitleTag' block attribute in versions up to, and including, 3.1.8. This is due to insufficient input sanitization and output escaping in the accordion_header_renderer() function, which emits the attacker-supplied tag name using esc_attr() in an HTML tag-name context instead of tag_escape(). 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.
CVSS v3.1
Score 6.4medium
Affected software
shapedplugin
Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18988 is a stored cross-site scripting vulnerability in the Easy Accordion – AI-Powered FAQ & Accordion Blocks, Product FAQ WordPress plugin, affecting versions up to 3.1.8. The vulnerability stems from insufficient input sanitization and output escaping in the accordion_header_renderer() function, which improperly uses esc_attr() instead of tag_escape() for the 'accordionTitleTag' block attribute. Authenticated attackers with contributor-level privileges or higher can inject arbitrary scripts that execute when users view the compromised pages.
Potential Impact
An attacker with contributor-level access or higher can inject malicious scripts into pages via the vulnerable attribute, leading to cross-site scripting attacks. This can result in the execution of arbitrary scripts in the context of users visiting the affected pages, potentially compromising user data or session integrity. The CVSS score of 6.4 reflects a medium severity with network attack vector, low attack complexity, and no user interaction required.
Mitigation Recommendations
No official patch or fix is currently confirmed for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict contributor-level access to trusted users only and consider disabling or replacing the plugin if possible to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-08-05T18:07:01.094Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a76b396bf8831d539f54054
Added to database: 08/08/2026, 04:41:58 UTC
Last enriched: 08/15/2026, 14:50:51 UTC
Last updated: 09/21/2026, 22:01:32 UTC
Views: 66
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.