Lightweight Accordion CVE-2025-13740
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain contributor-level account
-
DeliveryInsert lightweight-accordion shortcode with malicious attribute
-
ExploitPayload stored unsanitized in page
-
ExecutionHigher-privileged user views page
-
PersistScript executes in victim browser
-
ImpactHijack session / perform admin actions
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 (1) a WordPress site running Lightweight Accordion ≤1.5.20, and (2) the attacker holding an authenticated account at contributor level or above with the ability to use the |
| Impact | This is a moderate, authentication-gated Stored XSS (CWE-79) carrying a CVSS 3.1 base of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N). The signals are internally consistent and point to a real-but-not-urgent issue rather than a critical priority. The vector confirms network reach with low complexity and no user interaction, but PR:L means exploitation requires an authenticated account with contributor-level privileges or above - a meaningful barrier on well-managed sites, though trivially met on blogs that accept open/contributor registration. The changed scope (S:C) and only Low confidentiality/integrity impacts correctly reflect that injected script executes in the browser context of other users (e.g. editors/admins viewing the injected page) rather than directly compromising the server. EPSS is low at 0.18% (7th percentile), the CVE is NOT on CISA KEV, and no public exploit code is referenced, so there is no evidence of active or imminent widespread exploitation. The signals agree: medium severity, low near-term exploitation probability, privilege-limited. The chief caveat is attacker trust level - risk is materially higher on multi-author sites with loose contributor onboarding and materially lower on single-admin sites where no low-privilege accounts exist. |
| Exploit ScenarioDerived | A site that allows contributor-level or higher accounts (e.g. a multi-author blog or one with open registration granting contributor rights) is targeted by a malicious or compromised low-privilege user. That user embeds the lightweight-accordion shortcode with a crafted attribute containing JavaScript, which is stored unsanitized; when an administrator or other visitor later views the page, the script executes in their browser, enabling session/cookie theft or admin-action abuse. No public exploit code was identified, but the shortcode-attribute injection technique is well understood and easily reproduced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the Lightweight Accordion plugin for WordPress (all versions up to and including 1.5.20) allows an authenticated attacker holding contributor-level access or above to inject arbitrary JavaScript into pages and posts by supplying malicious attributes to the plugin's lightweight-accordion shortcode; the payload is persisted in the database and executes in the browser of any user - typically a higher-privileged editor or administrator - who subsequently views the compromised page. The CVSS 3.1 base score is 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting the required low-privileged authenticated account and the scope change caused by script execution in the victim's browser context. Exploitation is gated by the need to grant untrusted users contributor-level or higher accounts, and EPSS is low at 0.18% (7th percentile); no public exploit code has been identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
The primary fix is to update the Lightweight Accordion plugin to a release that includes the fix committed in the plugin repository changeset at https://plugins.trac.wordpress.org/changeset/3413649/; because this reference is an upstream changeset rather than an independently confirmed tagged release, treat it as an upstream fix and verify the exact patched version number in the plugin's changelog before relying on the version string alone - any release published after 1.5.20 that incorporates that changeset contains the corrected sanitization and escaping. If immediate update is not possible, apply compensating controls that directly address the prerequisites: restrict contributor-and-above accounts to trusted personnel and disable open user registration, since exploitation requires a low-privileged authenticated author able to embed the shortcode (trade-off: this limits collaborative publishing workflows but removes the attack path entirely). Audit existing posts and pages for lightweight-accordion shortcodes containing unexpected attributes such as event handlers or javascript: values, and remove or clean any suspicious stored content, particularly on sites where contributors have historically published. As an additional layer, deploy a web application firewall rule that inspects post content and rendered pages for script markup or event-handler attributes associated with the shortcode - note that WAF coverage is incomplete for stored XSS because the payload is already in the database and may be served from cached pages, so this should not be treated as a substitute for patching. Applying the vendor patch is the only control that removes the root cause, and the vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/f117f713-e2f1-4803-87f7-14b1576d823b?source=cve should be consulted for any updated version guidance.
Affected ProductsAI
The affected product is the Lightweight Accordion plugin for WordPress, all versions from the initial release through and including 1.5.20, running on any WordPress installation where the plugin is active and where contributor-level or higher accounts exist. No CPE strings were supplied with this record; detection should be based on the installed plugin slug and version rather than CPE matching, for example confirming the plugin directory and its version header reports 1.5.20 or lower. Vendor remediation is visible in the WordPress plugin repository changeset at https://plugins.trac.wordpress.org/changeset/3413649/, and the vendor-published advisory with the full affected-version declaration is available at https://www.wordfence.com/threat-intel/vulnerabilities/id/f117f713-e2f1-4803-87f7-14b1576d823b?source=cve. Sites that disable user registration and do not provision contributor-or-higher accounts to untrusted parties are not practically exposed to the external-attacker scenario described, even though the vulnerable code remains installed.
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 vulnerability is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e., stored/persistent cross-site scripting) rooted in the WordPress shortcode API. The Lightweight Accordion plugin registers a lightweight-accordion shortcode whose handler processes user-supplied attributes without adequate input sanitization and without escaping those values on output. In WordPress, shortcode attributes are attacker-influenceable content: contributors and above can author posts and pages that invoke registered shortcodes, and any attribute passed to the handler is stored verbatim in post content. Because the plugin fails to sanitize attributes on input (e.g., via sanitize_text_field, esc_attr, or an allowlist of permitted attribute values) and fails to escape them at render time (e.g., via esc_attr/wp_kses on the constructed HTML), an attacker can embed event handlers such as onmouseover, onerror, or script-bearing attribute values that the browser interprets as executable markup. The injected script runs whenever the shortcode output is rendered into a page viewed by another user, and because it originates from stored post content it bypasses typical reflection-based protections. The scope-change (S:C) rating in the assessed vector reflects that the injected script executes in the security context of the viewing user's browser session, not the attacker's, which is what elevates the impact despite the modest confidentiality and integrity ratings.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor-level account required (PR:L), network-reachable low-complexity injection (AV:N/AC:L), stored payload crosses into other users' browser context (S:C) with Low C/I and no availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Lightweight Accordion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's lightweight-accordion shortcode in all versions up to, and including, 1.5.20 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB