Skip to main content

WP Less Compiler CVE-2025-25142

HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-03-03 audit@patchstack.com
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Access WordPress site
  2. Delivery
    Navigate to plugin settings
  3. Exploit
    Inject XSS payload in vulnerable field
  4. Install
    Payload stored in database
  5. C2
    Administrator views settings page
  6. Execute
    Malicious script executes in admin session
  7. Impact
    Steal 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 18:29 CVSS 7.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

NVD PRIMARY 7.1 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Analysis Updated
Apr 25, 2026 - 01:16 vuln.today
v2 - CVSS changed
CVE Published
Mar 03, 2025 - 14:15 nvd
HIGH 7.1

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 74% exploitable
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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