The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-1045

CVE-2026-1045: Viet Contact WordPress Plugin XSS Flaw

CVE-2026-1045 is a stored cross-site scripting vulnerability in the Viet Contact WordPress plugin that allows authenticated administrators to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-1045 Overview

The Viet Contact plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the admin settings functionality. All versions up to and including 1.3.2 are affected due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with administrator-level permissions to inject arbitrary web scripts into pages that execute whenever a user accesses an injected page.

Critical Impact

Authenticated attackers with administrator privileges can persistently inject malicious scripts that execute in the context of other users' browser sessions, potentially leading to session hijacking, credential theft, or further compromise of the WordPress installation.

Affected Products

  • Viet Contact WordPress Plugin versions up to and including 1.3.2
  • WordPress Multi-site installations with the Viet Contact plugin
  • WordPress installations where unfiltered_html capability has been disabled

Discovery Timeline

  • 2026-01-20 - CVE-2026-1045 published to NVD
  • 2026-01-20 - Last updated in NVD database

Technical Details for CVE-2026-1045

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability exists within the Viet Contact plugin's administrative settings interface. The root cause stems from the plugin failing to properly sanitize user-supplied input before storing it in the database, combined with insufficient output escaping when rendering stored values back to the page.

The attack requires network access and administrator-level authentication, making the attack complexity higher than typical XSS vulnerabilities. However, the impact extends beyond the attacker's session scope, as injected scripts persist and execute for any user viewing the affected pages. This is particularly dangerous in multi-site WordPress environments or installations where the unfiltered_html capability has been explicitly disabled, as these configurations are typically implemented to prevent exactly this type of attack.

Root Cause

The vulnerability originates from improper handling of admin settings input in the plugin's core files. Specifically, the vietcontact-admin.php file at line 34 and vietcontact-content.php at line 11 contain code paths that fail to implement proper sanitization functions like sanitize_text_field() or escaping functions like esc_html() and esc_attr() when processing and displaying user-controlled data. This allows malicious JavaScript payloads to be stored in the database and subsequently rendered in the HTML output without proper encoding.

Attack Vector

An authenticated administrator can exploit this vulnerability by navigating to the Viet Contact plugin settings page and injecting malicious JavaScript code into one of the vulnerable input fields. The malicious payload is stored in the WordPress database without sanitization. When any user subsequently views a page that renders this stored content, the injected script executes in their browser context.

The attack scenario is limited to environments where administrators should not have the ability to inject arbitrary scripts—specifically multi-site installations where super-admin controls are enforced, or single-site installations that have explicitly disabled unfiltered_html to prevent such attacks from privileged users.

For detailed technical analysis of the vulnerable code paths, refer to the WordPress Plugin Code Review for vietcontact-admin.php and the Wordfence Vulnerability Analysis.

Detection Methods for CVE-2026-1045

Indicators of Compromise

  • Unexpected JavaScript code present in Viet Contact plugin settings stored in the wp_options database table
  • Suspicious admin activity logs showing repeated access to plugin settings pages
  • User reports of unexpected browser behavior or redirects when viewing pages containing Viet Contact forms
  • Presence of encoded or obfuscated script tags within plugin configuration values

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in POST requests to WordPress admin pages
  • Monitor WordPress database for stored script tags or event handlers in plugin option values
  • Deploy Content Security Policy (CSP) headers to detect and block inline script execution
  • Use browser-based XSS auditors and security extensions to identify malicious script injection attempts

Monitoring Recommendations

  • Enable and review WordPress admin activity logs for unusual plugin settings modifications
  • Configure alerting for changes to Viet Contact plugin options in the database
  • Implement file integrity monitoring on plugin files to detect unauthorized modifications
  • Regularly audit user accounts with administrator privileges for unauthorized access

How to Mitigate CVE-2026-1045

Immediate Actions Required

  • Update the Viet Contact plugin to a patched version when available from the WordPress plugin repository
  • Review and remove any suspicious content from Viet Contact plugin settings
  • Audit administrator user accounts and revoke access for any compromised or unnecessary admin accounts
  • Implement a Web Application Firewall with XSS protection rules

Patch Information

As of the published date, users should monitor the WordPress Plugin Repository for an updated version of the Viet Contact plugin that addresses this vulnerability. The fix should implement proper input sanitization using WordPress sanitization functions and output escaping using appropriate escaping functions for the context.

Workarounds

  • Temporarily deactivate the Viet Contact plugin until a patched version is available
  • Restrict administrator access to only trusted users on multi-site installations
  • Implement Content Security Policy headers to mitigate the impact of any injected scripts
  • Consider using alternative contact form plugins that have undergone security audits
bash
# Configuration example - Add CSP header to mitigate XSS impact
# Add to .htaccess or server configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Code Review

  • WordPress Plugin Code Review

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-2840: Email Encoder WordPress Plugin XSS Vulnerability

  • CVE-2026-3369: WordPress Better Find and Replace XSS Flaw

  • CVE-2026-3995: OPEN-BRAIN WordPress Plugin XSS Vulnerability

  • CVE-2026-3876: Prismatic WordPress Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English