Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13740: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in someguy9 Lightweight Accordion

0
Medium
VulnerabilityCVE-2025-13740cvecve-2025-13740cwe-79
Published: Mon Dec 15 2025 (12/15/2025, 03:20:20 UTC)
Source: CVE Database V5
Vendor/Project: someguy9
Product: Lightweight Accordion

Description

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.

AI-Powered Analysis

AILast updated: 12/15/2025, 04:01:02 UTC

Technical Analysis

CVE-2025-13740 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Lightweight Accordion plugin for WordPress, versions up to and including 1.5.20. The vulnerability arises from improper neutralization of user-supplied input in the plugin's shortcode attributes, specifically the 'lightweight-accordion' shortcode. Authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into pages or posts by manipulating shortcode attributes. Because the plugin fails to properly sanitize and escape these inputs before rendering, the malicious scripts are stored persistently in the WordPress database and executed in the context of any user who views the affected page. This can lead to session hijacking, privilege escalation, defacement, or distribution of malware. The vulnerability requires authentication but no additional user interaction beyond page access. The CVSS 3.1 score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, privileges required, no user interaction, and partial confidentiality and integrity impact. No public exploits are currently known, but the vulnerability presents a significant risk to WordPress sites using this plugin, especially those with multiple contributors. The plugin is widely used for content presentation, increasing the attack surface. The vulnerability was published on December 15, 2025, and no patches have been released yet, emphasizing the need for immediate mitigation.

Potential Impact

For European organizations, this vulnerability poses a moderate risk primarily to websites running WordPress with the Lightweight Accordion plugin installed. The ability for contributors to inject persistent malicious scripts can compromise site integrity and user trust, potentially leading to data leakage, session hijacking, or defacement. Organizations relying on WordPress for customer-facing or internal portals could face reputational damage and compliance issues under GDPR if personal data is exposed. The attack requires contributor-level access, so insider threats or compromised contributor accounts increase risk. The vulnerability does not directly affect availability but can indirectly disrupt services through defacement or malware distribution. Given the widespread use of WordPress across Europe, especially in Germany, the UK, France, and Italy, the impact could be significant in sectors such as media, education, and government where WordPress is prevalent. The lack of known exploits currently provides a window for proactive defense, but the medium severity score indicates that exploitation could have meaningful consequences if weaponized.

Mitigation Recommendations

European organizations should implement several targeted mitigations beyond generic advice: 1) Immediately audit and restrict contributor-level permissions to trusted users only, minimizing the risk of malicious shortcode injection. 2) Monitor and review all content using the 'lightweight-accordion' shortcode for suspicious or unexpected attributes. 3) Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious script patterns in shortcode parameters. 4) Disable or remove the Lightweight Accordion plugin if not essential, or replace it with a more secure alternative. 5) Apply principle of least privilege for all WordPress roles and enforce strong authentication mechanisms, including MFA for contributors. 6) Regularly backup WordPress sites and databases to enable quick restoration if compromise occurs. 7) Stay alert for official patches or updates from the plugin vendor and apply them promptly once available. 8) Educate content contributors about secure content practices and risks of injecting untrusted code. These steps collectively reduce the attack surface and improve detection and response capabilities.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-11-26T13:03:03.787Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693f87d9d9bcdf3f3da2a963

Added to database: 12/15/2025, 4:00:25 AM

Last enriched: 12/15/2025, 4:01:02 AM

Last updated: 12/15/2025, 6:09:54 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats