Skip to main content

Lightweight Accordion CVE-2025-13740

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-15 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
    Insert lightweight-accordion shortcode with malicious attribute
  3. Exploit
    Payload stored unsanitized in page
  4. Execution
    Higher-privileged user views page
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack 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 lightweight-accordion shortcode and supply attributes. The specific prerequisite is write access to post/page content containing that shortcode; the injected script does not execute until a user (typically a higher-privileged editor or admin) subsequently views the affected page, so there is an implicit victim-access dependency even though no classic click/UI interaction is needed. Key limiting factor: sites that do not provision contributor-or-higher accounts to untrusted users (e.g. single-author/single-admin installations with registration disabled) are not practically exploitable by external attackers.

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.

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

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

Alert me

AnalysisAIv1 – 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

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

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.

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 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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche single-purpose WordPress accordion plugin, limited install base
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.2%
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