Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-1822: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tonysamperi WP NG Weather

0
Medium
VulnerabilityCVE-2026-1822cvecve-2026-1822cwe-79
Published: Sat Mar 21 2026 (03/21/2026, 03:26:33 UTC)
Source: CVE Database V5
Vendor/Project: tonysamperi
Product: WP NG Weather

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/21/2026, 04:48:50 UTC

Technical Analysis

CVE-2026-1822 is a stored cross-site scripting vulnerability classified under CWE-79, found in the WP NG Weather plugin for WordPress, versions up to and including 1.0.9. The vulnerability stems from insufficient sanitization and escaping of user-supplied input in the 'ng-weather' shortcode attributes. This allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users visit these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or other malicious activities. The attack vector is remote over the network, with low complexity, requiring only authenticated contributor access and no user interaction for exploitation. The vulnerability impacts confidentiality and integrity but not availability, as indicated by the CVSS vector (C:L/I:L/A:N). No patches or known exploits have been reported yet, but the vulnerability's presence in a widely used CMS plugin poses a significant risk. The scope is limited to sites using this specific plugin, but given WordPress's popularity, the affected population could be substantial. The vulnerability is particularly dangerous because contributor-level users are often trusted and may be less scrutinized, allowing stealthy exploitation.

Potential Impact

The primary impact of CVE-2026-1822 is the potential compromise of user confidentiality and data integrity on affected WordPress sites. Attackers with contributor access can inject malicious scripts that execute in the context of other users' browsers, enabling theft of session cookies, credentials, or other sensitive information. This can lead to account takeover, unauthorized actions, or further exploitation within the site. Although availability is not directly affected, the reputational damage and potential data breaches can be severe. Organizations relying on WP NG Weather may face increased risk of targeted attacks, especially if contributor accounts are compromised or poorly managed. The vulnerability also undermines trust in the site's content and user interactions, potentially impacting customer confidence and compliance with data protection regulations. The lack of known exploits currently reduces immediate risk but does not eliminate the threat, as attackers may develop exploits once the vulnerability becomes widely known.

Mitigation Recommendations

To mitigate CVE-2026-1822, organizations should immediately restrict contributor-level access to trusted users only and review existing contributor accounts for suspicious activity. Disable or remove the WP NG Weather plugin if it is not essential. Implement strict input validation and output encoding on all user-supplied data, especially shortcode attributes, to prevent script injection. Monitor web server and application logs for unusual requests or script injection attempts. Employ a Web Application Firewall (WAF) with rules targeting XSS attacks to block malicious payloads. Regularly update WordPress core, plugins, and themes to incorporate security patches once available. Educate contributors about secure content practices and the risks of injecting untrusted code. Consider deploying Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Finally, maintain regular backups and have an incident response plan ready to address potential compromises.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-02-03T14:18:05.321Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69be1809f4197a8e3b783d1d

Added to database: 3/21/2026, 4:01:13 AM

Last enriched: 3/21/2026, 4:48:50 AM

Last updated: 3/22/2026, 7:12:12 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses