Skip to main content

Nyla CVE-2026-39642

| EUVDEUVD-2026-31803 MEDIUM
Basic XSS (CWE-80)
2026-05-26 Patchstack GHSA-xmff-c6m5-xm5c
5.3
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Identify WordPress site running Nyla theme
  2. Delivery
    Submit shortcode payload with script tags
  3. Exploit
    Theme renders unsanitized HTML in page
  4. Execution
    Victim browser executes injected script
  5. Impact
    Confidential session data exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be a WordPress installation with the Nyla theme (by SpabRice) active and running version 1.7 or earlier. The vulnerability is exploitable by unauthenticated remote attackers (CVSS PR:N), requires no user interaction per the CVSS scoring (UI:N) - though this is unusual for client-side XSS and should be independently verified, as it may imply the XSS is stored rather than reflected. The attack vector is network (AV:N) with low complexity (AC:L), meaning no special network positioning or race condition is needed. The scope is unchanged (S:U), limiting the blast radius to the application's own origin. The primary limiting factor is theme specificity: only WordPress sites actively using the Nyla theme are affected, and the confidentiality impact is partial (C:L) with no integrity or availability components, reducing the incentive for targeted exploitation compared to higher-impact vulnerabilities.

Impact

The CVSS 3.1 base score is 5.3 (Medium), with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. The PR:N and UI:N components warrant scrutiny: for client-side XSS, UI:N (no user interaction) is atypical and may indicate stored XSS that auto-executes on page load for any visitor, rather than reflected XSS requiring a victim to click a crafted link - this distinction is not fully resolved from available data and should be verified with the vendor. The EPSS score of 0.04% (12th percentile) reflects very low empirical exploitation probability, consistent with the SSVC exploitation status of 'none.' However, SSVC flags the vulnerability as 'Automatable: yes,' meaning an attacker could script mass exploitation across WordPress installations using this theme without manual effort. The technical impact is rated 'partial.' KEV status is not confirmed; no POC is publicly identified. Taken together, this is a low-priority finding for most organizations - real-world risk is constrained by low EPSS, no known exploits, and limited scope (confidentiality only, no integrity or availability impact) - but organizations running the Nyla theme should patch due to the unauthenticated attack surface and automatable nature.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies a WordPress site running the Nyla theme through automated scanning (e.g., querying theme metadata via the WordPress REST API or HTTP headers). The attacker submits a crafted request containing a shortcode payload that embeds script-bearing HTML tags, which the theme renders without sanitization. Any user - including site administrators - who views the affected page triggers execution of the injected script in their browser, potentially exposing session cookies or other confidential data to the attacker. No POC is publicly identified at time of analysis, but the automatable nature of this class of attack means mass-scanning tooling could be adapted readily.

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

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

Alert me

AnalysisAIv1 – Jun 08, 2026

Basic XSS via arbitrary shortcode execution in the Nyla WordPress theme (versions through 1.7) allows unauthenticated remote attackers to inject script-bearing HTML tags into rendered web pages, resulting in limited confidentiality impact against site visitors. The vulnerability is classified under CWE-80 and was disclosed by Patchstack, who titled the finding 'Arbitrary Shortcode Execution' - indicating that the XSS payload is delivered through unsanitized shortcode rendering rather than a conventional input field. No public exploit code exists and no active exploitation has been confirmed at time of analysis.

RemediationAI

The primary remediation is to update the Nyla WordPress theme to a version beyond 1.7 if a patched release has been issued by SpabRice; however, no specific patched version number is confirmed in the available data - consult the Patchstack advisory at https://patchstack.com/database/wordpress/theme/nyla/vulnerability/wordpress-nyla-theme-1-7-arbitrary-shortcode-execution-vulnerability for the latest patch availability and version details. If no patched version is yet available, consider deactivating the Nyla theme and switching to an alternative until a fix is released; this is a significant operational trade-off but eliminates the attack surface entirely. As a partial compensating control, deploying a Web Application Firewall (WAF) with rules targeting script-tag injection in WordPress shortcode parameters can reduce exploitation likelihood, though WAF bypass is possible and this should not be treated as a permanent fix. WordPress administrators should also audit shortcode-accepting inputs site-wide and restrict public submission of shortcode content where possible.

Affected VersionsENISA

Nyla n/a ≤1.7

Affected Packages

euvd nyla no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Nyla is a WordPress theme developed by SpabRice, identified by CPE cpe:2.3:a:spabrice:nyla:*:*:*:*:*:*:*:* and affected through version 1.7. The root cause is CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a form of Basic XSS where script-related HTML constructs - such as <script>, <img onerror=...>, or similar tags - are not properly sanitized before being rendered in the browser. The Patchstack advisory title specifically references 'arbitrary shortcode execution,' which suggests the injection point is WordPress's shortcode processing pipeline: an attacker can supply shortcode input that the theme renders without stripping malicious HTML tags, causing script execution in the visitor's browser context. This is a theme-level vulnerability, meaning it affects any WordPress installation running the Nyla theme regardless of plugin configuration.

Know when Nyla 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 (Patchstack) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (Patchstack) · only source for this CVE.

CVSS VectorVendor: Patchstack

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

DescriptionCVE.org

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in SpabRice Nyla allows Code Injection.

This issue affects Nyla: from n/a through 1.7.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.0%
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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy