WP Less Compiler CVE-2025-25142
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess WordPress site
-
DeliveryNavigate to plugin settings
-
ExploitInject XSS payload in vulnerable field
-
InstallPayload stored in database
-
C2Administrator views settings page
-
ExecuteMalicious script executes in admin session
-
ImpactSteal cookies or create backdoor account
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 | Attacker must have network access to WordPress installation and ability to interact with WP Less Compiler plugin configuration interface. In default WordPress configurations, plugin settings are restricted to users with 'manage_options' capability (typically Administrator role), meaning the attacker would need existing authenticated admin access to inject the payload - significantly limiting practical exploitation to insider threats or compromised admin accounts. However, if the plugin exposes settings through front-end interfaces, REST API endpoints, or custom capabilities assigned to lower-privileged roles (Author, Contributor), unauthenticated or low-privilege exploitation becomes feasible. The UI:R requirement means successful exploitation depends on a victim user (specifically one with privileges to view plugin settings or compiled output) triggering the stored payload by navigating to the affected page. Changed scope (S:C) requires the WordPress environment to permit cross-context script execution, which is standard unless hardened with strict CSP policies. |
| Impact | Real-world risk assessment reveals moderate concern despite the 7.1 CVSS score. The CVSS vector indicates network-based exploitation (AV:N) with low complexity (AC:L) requiring no authentication (PR:N), but mandatory user interaction (UI:R) significantly constrains exploitation - an authenticated WordPress user must trigger the stored payload. The changed scope (S:C) elevates impact beyond typical reflected XSS, potentially enabling WordPress admin session hijacking if an administrator views the malicious content. However, EPSS probability of 0.09% (26th percentile) indicates security researchers assess actual exploitation likelihood as very low. No CISA KEV listing confirms absence of observed active exploitation. No public POC identified in Patchstack references. Primary risk scenario: attacker stores malicious script via plugin settings, targeting WordPress administrators to steal session cookies or perform privileged actions. For organizations not using this LESS compiler plugin, risk is zero. For users of affected versions, risk depends on whether untrusted users can access plugin configuration interfaces - typically restricted to WordPress administrators in default installations, substantially reducing attack surface. |
| Exploit ScenarioDerived | Attacker with network access to the WordPress site navigates to the WP Less Compiler plugin configuration page (typically /wp-admin/options-general.php or similar plugin settings interface). They inject malicious JavaScript payload into a vulnerable input field such as custom LESS code input, file path settings, or compilation options that fail to sanitize special characters. Payload is stored in WordPress database. When a WordPress administrator accesses the plugin settings page or views compiled output containing the unsanitized data, the stored script executes in their browser session, enabling cookie theft, CSRF token harvesting, or creation of rogue admin accounts through WordPress AJAX API calls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 25, 2026
Stored cross-site scripting in WP Less Compiler WordPress plugin versions through 1.3.0 enables remote unauthenticated attackers to inject malicious scripts that execute in victim browsers when triggered by user interaction. The vulnerability affects a WordPress LESS CSS preprocessor plugin, with scope change (S:C) indicating potential attack escalation beyond the plugin's security context. EPSS score of 0.09% (26th percentile) suggests low probability of widespread exploitation attempts. No active exploitation confirmed by CISA KEV at time of analysis.
Earlier versions of this analysis (1)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NotFound WP Less Compiler allows Stored XSS.3.0. Rated high severity (CVSS 7.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Primary remediation: Upgrade WP Less Compiler to version 1.3.1 or later if a patched release has been issued. At time of analysis, Patchstack advisory (https://patchstack.com/database/wordpress/plugin/wp-less-compiler/vulnerability/wordpress-wp-less-compiler-plugin-1-3-0-cross-site-scripting-xss-vulnerability) confirms the vulnerability but patch version availability requires verification from plugin developer or WordPress.org repository. If no patch is available, implement compensating controls: restrict plugin configuration access to only super-administrators via WordPress role management, implement Content Security Policy headers with 'script-src self' directive to block inline script execution (trade-off: may break legitimate WordPress admin functionality requiring inline scripts), or remove the plugin entirely and migrate to alternative LESS compilation solutions such as WP-SCSS or server-side build tools like Webpack. Audit existing plugin settings and stored content for injected script payloads matching common XSS patterns (script tags, event handlers, javascript: protocols).
Affected ProductsAI
WordPress WP Less Compiler plugin versions from earliest available release through version 1.3.0 (inclusive). The vulnerability affects all installations running version 1.3.0 or earlier. Patchstack vulnerability database reference available at https://patchstack.com/database/wordpress/plugin/wp-less-compiler/vulnerability/wordpress-wp-less-compiler-plugin-1-3-0-cross-site-scripting-xss-vulnerability providing detailed analysis. No CPE string provided in vulnerability data. Plugin is distributed through WordPress.org plugin repository under slug 'wp-less-compiler'.
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
WP Less Compiler is a WordPress plugin that compiles LESS (Leaner Style Sheets) into CSS for theme development. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating insufficient input sanitization or output encoding when processing user-supplied data. In WordPress plugins, stored XSS typically occurs when plugin settings, configuration fields, or user-generated content are saved to the database without proper validation and later rendered without escaping. The attack vector (AV:N) confirms the vulnerability is accessible through WordPress's web interface, while the changed scope (S:C) in the CVSS vector suggests the injected script can operate beyond the plugin's intended privilege boundaries, potentially accessing WordPress admin session tokens or performing actions across the WordPress application context.
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:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in NotFound WP Less Compiler allows Stored XSS. This issue affects WP Less Compiler: from n/a through 1.3.0.
Executive ViewAI
WP Less Compiler WordPress plugin through version 1.3.0 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts affecting any site user who interacts with compromised content. This vulnerability poses a direct risk to website visitors and administrators, potentially enabling credential theft, malware distribution, or site defacement without requiring attacker authentication.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately deactivate and remove the plugin to prevent new XSS injection; (2) implement Content Security Policy (CSP) headers with script-src restrictions; (3) enable WordPress security scanning plugins to detect existing stored XSS payloads; (4) restrict LESS file editing to administrator role only; (5) monitor for suspicious script execution in user browsers via security event logging.
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