Skip to main content

Wp Js Detect CVE-2026-9731

| EUVDEUVD-2026-42173 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-07-08 Wordfence GHSA-pj77-3rw8-fp35
4.3
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Craft hidden CSRF form targeting plugin_settings endpoint
  2. Delivery
    Deliver phishing link to WordPress administrator
  3. Exploit
    Admin browser submits forged settings request with injected payload
  4. Execution
    Plugin stores attacker-controlled notification text/CSS without nonce check
  5. Persist
    Injected content echoed unescaped on WordPress frontend
  6. Impact
    JS-disabled visitors exposed to arbitrary injected HTML or script

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
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 Wp Js Detect plugin must be installed and active on the target WordPress site in version 1.0.9 or earlier. The attacker must successfully social-engineer a currently authenticated WordPress administrator into performing a browser action - clicking a link or visiting a page - while a valid admin session cookie exists in their browser; this is the UI:R constraint in the CVSS vector and is the primary limiting factor. The vulnerability is specifically in the plugin_settings function (wp-js-detect.php lines ~190-193, 250), which handles writes to wp_non_js_notification_text and wp_non_js_notification_css; no special server configuration beyond plugin activation is required. The downstream content injection only surfaces to site visitors who have JavaScript disabled, which is typically a small fraction of traffic, limiting the audience exposed to injected content. No authentication, no special network position, and no non-default WordPress configuration beyond plugin presence is required for the attacker to initiate the forged request.

Impact

The vendor-assigned CVSS 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) is internally consistent with the described attack: network-reachable, low complexity, no attacker privileges required, but constrained by mandatory administrator interaction (UI:R). Real-world risk is therefore bounded by the social-engineering step - mass automated exploitation is not viable because a logged-in WordPress administrator must be tricked into triggering the forged request. The integrity impact is rated Low, reflecting settings manipulation and frontend content injection, with no confidentiality or availability impact per the CVSS vector. The unescaped output adds potential for stored XSS beyond the raw CSRF classification, but whether JavaScript execution is achievable depends on WordPress output context and character filtering - the description confirms arbitrary content injection but does not explicitly confirm script execution; this should be independently verified. No KEV listing and no POC existence are confirmed, and no EPSS score was provided in the source data. Overall, this is a low-urgency issue for most sites but relevant for WordPress installations where frontend content integrity or brand trust is a concern.

Exploit ScenarioDerived

An attacker crafts a hidden HTML form on a malicious webpage targeting the WordPress site's plugin settings endpoint, pre-populating wp_non_js_notification_text with injected HTML or JavaScript content. The attacker sends a phishing link to a WordPress site administrator - for example, via email or a comment notification - and when the administrator visits the page while their admin session is active, the browser silently submits the forged POST request without nonce verification. The plugin stores the attacker-controlled value, and it is subsequently rendered unescaped on the site's frontend to any visitor whose browser has JavaScript disabled, completing a stored content-injection or potential stored XSS attack chain. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

AnalysisAIv1 – Jul 08, 2026

Cross-Site Request Forgery in the Wp Js Detect WordPress plugin (all versions ≤ 1.0.9) permits unauthenticated attackers to overwrite the plugin's frontend notification text and CSS settings by exploiting absent nonce validation in the plugin_settings function. Because the stored values are echoed unescaped to the WordPress frontend, a successful forged request can inject arbitrary HTML or script content visible to site visitors who have JavaScript disabled. No public exploit code has been identified at time of analysis, and no CISA KEV listing exists; EPSS data was not supplied.

RemediationAI

No vendor-released patched version is confirmed in the available data - the CPE range covers all versions through 1.0.9 without a fixed release referenced in any provided intelligence source. Administrators should immediately check the WordPress plugin repository for a Wp Js Detect update beyond version 1.0.9 and apply it if available, monitoring the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/afca7b14-f3bb-4612-b81c-bde120b380ba for patch confirmation. If no update is yet available, the most effective compensating control is deactivating or uninstalling the Wp Js Detect plugin entirely, which eliminates the attack surface with the only trade-off being loss of the JavaScript-detection notification feature. If the plugin must remain active, restricting WordPress admin dashboard access to trusted IP ranges reduces the window for CSRF exploitation by limiting the contexts in which an administrator can be tricked into triggering a forged request. Additionally, deploying a Content Security Policy (CSP) header that restricts inline scripts can limit the escalation impact of the unescaped output should injection succeed, though this does not prevent the CSRF itself.

Affected VersionsENISA

Wp Js Detect 0 ≤1.0.9

Affected Packages

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

Wp Js Detect (vendor: wpkuf, CPE: cpe:2.3:a:wpkuf:wp_js_detect:*:*:*:*:*:*:*:*) is a WordPress plugin that detects visitor JavaScript support and renders a fallback notification for JS-disabled users. The root cause is CWE-352 (Cross-Site Request Forgery): the plugin_settings function, located in wp-js-detect.php at approximately lines 190-193 and 250 (per the Trac repository references), processes settings changes without verifying a WordPress nonce token. WordPress nonces are the platform-standard mechanism for confirming that a state-changing request originates from the authenticated user's own browser session; their absence allows any cross-origin forged request to succeed. A compounding issue is that the affected settings fields - wp_non_js_notification_text and wp_non_js_notification_css - are rendered on the frontend without output escaping, converting a settings-manipulation vulnerability into a persistent content-injection (and potentially stored XSS) vector.

Know when Wp Js Detect 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 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

CSRF requires no attacker privileges (PR:N) but mandates admin interaction (UI:R); impact is limited to low-integrity frontend content injection with no confidentiality or availability effects.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The Wp Js Detect plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.9. This is due to missing or incorrect nonce validation on the plugin_settings function. This makes it possible for unauthenticated attackers to update the plugin's notification text and CSS settings (wp_non_js_notification_text and wp_non_js_notification_css), injecting arbitrary content that is echoed unescaped on the frontend via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche WordPress plugin with limited known install base
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.1%
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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

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