Skip to content
CVE-2026-94565

CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module

Initial Access Last updated:

Detects exploitation of CVE-2026-94565, an unauthenticated stored cross-site scripting (XSS) vulnerability (CWE-79) in the Contact module of NukeViet CMS versions >= 3.0.0 and < 4.6.01. An unauthenticated attacker submits a contact form containing an unsanitized payload (e.g. in the name, subject, or message fields) that is stored and later rendered without encoding in the administrator's contact-management view, executing arbitrary JavaScript in the admin's session. CVSS 9.3. This detection surfaces POST requests to the contact submission endpoint carrying script/HTML-injection markers and subsequent admin-panel renders of stored contact entries. Fixed in NukeViet 4.6.01.

Vulnerability Intelligence

Public PoC

CVSS

9.3
Critical (9.0–10)
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

What is CVE-2026-94565 CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module?

CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module (CVE-2026-94565) maps to the Initial Access tactic — the adversary is trying to get into your network in MITRE ATT&CK.

This page provides production-ready detection logic for CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module, covering the data sources and telemetry it touches: Microsoft Sentinel, IIS Web Server Logs, Web Application Firewall. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.

MITRE ATT&CK

Tactic
Initial Access
Microsoft Sentinel / Defender
kusto
// df00tech DF00-381915f24d · https://df00tech.com/detections/CVE-2026-94565 · licence: https://df00tech.com/detections/licence
let xssPatterns = dynamic(["<script","javascript:","onerror=","onload=","onmouseover=","<svg","<img","document.cookie","String.fromCharCode","<iframe","&#x3c;script","%3cscript"]);
W3CIISLog
| where csUriStem has_any ("/index.php", "/contact", "/nv-contact")
| where csMethod == "POST"
| where csUriQuery has "contact" or csUriStem has "contact"
| extend decoded = tolower(url_decode(coalesce(csUriQuery, "")))
| where decoded has_any (xssPatterns) or tolower(coalesce(csReferer,"")) has_any (xssPatterns)
| project TimeGenerated, cIP, csMethod, csUriStem, csUriQuery, csReferer, scStatus, csUserAgent, Computer
| sort by TimeGenerated desc

Identifies unauthenticated POST requests to the NukeViet contact module carrying XSS injection markers in IIS W3C logs, indicating a stored XSS submission attempt against CVE-2026-94565.

high severity medium confidence

Data Sources

Microsoft Sentinel IIS Web Server Logs Web Application Firewall

Required Tables

W3CIISLog

False Positives

  • Security scanners (Burp, Acunetix, Nessus) actively probing the contact form with XSS test strings.
  • Legitimate users pasting HTML-like text (e.g. code snippets) into contact message fields.
  • Penetration testers performing authorized assessments against the NukeViet instance.

Query fingerprint DF00-381915f24d · licence

Sigma logsource & community rules

The detection logic for CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module (CVE-2026-94565) above is provided in a vendor-neutral form so you can deploy it on any SIEM. The same logic is shipped here as native KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the following logsource:

logsource:
  category: network_connection
  product: windows

Browse the community-maintained Sigma rules for this technique:


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.

  1. Test 1 Stored XSS submission via contact form (script tag)

    Expected signal: Web-server access log shows a POST to the contact endpoint with a URL-encoded <script> payload in the request body.

  2. Test 2 Stored XSS submission via img onerror handler

    Expected signal: Access log records a POST to the contact module containing an onerror= event-handler payload.

  3. Test 3 Stored XSS submission with SVG/entity-encoded payload (Windows)

    Expected signal: IIS W3C log shows a POST to the contact endpoint with <svg/onload and %3cscript entity-encoded markers.


Response Playbook

Triage

  1. Confirm the running NukeViet version from the admin footer or /install/version.php; if it is >= 3.0.0 and < 4.6.01 the instance is vulnerable to CVE-2026-94565.
  2. Extract the full submitted payload from the flagged POST request body (name, subject, email, message fields) and decode any URL/HTML entity encoding to reveal the injected script.
  3. Determine whether the stored submission has already been viewed in the admin Contact-management panel (check admin access logs for the contact listing URL after the submission timestamp), which indicates the payload may have executed in an admin session.
  4. Identify the source IP, user-agent and geolocation of the submitter and correlate against known scanner or threat-intel infrastructure.

Containment

  1. Deploy a WAF rule to block contact-form POST bodies containing HTML/script markers until the instance is patched.
  2. Purge the malicious stored entry from the nv4_contact (or equivalent nv*_contact) database table so it cannot render in the admin panel again.
  3. Force-invalidate active administrator sessions and rotate admin credentials if evidence shows an admin viewed the payload (possible session-cookie theft).

Evidence Collection

  1. Preserve the raw web-server access/error logs and WAF logs covering the submission and any subsequent admin views.
  2. Export the offending row(s) from the contact database table with timestamps before deletion.
  3. Capture the admin browser/session logs and any outbound requests to attacker-controlled domains referenced in the payload (document.cookie exfiltration endpoints).

Escalation Criteria

  • ! Escalate to incident response if admin access logs confirm the stored payload was rendered in an authenticated admin session.
  • ! Escalate if the payload contains credential/cookie exfiltration to an external domain or evidence of follow-on admin-account compromise.
  • ! Escalate if multiple distinct malicious submissions or lateral movement from the web host are observed.

Investigation Guide

Forensic Artifacts

  • > Web-server access logs showing the POST to the contact endpoint with the injection payload.
  • > Rows in the NukeViet contact database table (nv*_contact) containing unsanitized HTML/script.
  • > Admin-panel access-log entries rendering the stored contact list after the malicious submission.
  • > Outbound HTTP requests from admin browsers to attacker-controlled exfiltration domains.

Tuning Guidance

Baseline legitimate contact-form traffic first; if users routinely paste code snippets, narrow the pattern set to active-execution markers (<script, onerror=, javascript:, document.cookie) and drop broad tags like <img. Whitelist known scanner source IPs used by your own security team. Correlate submission events with subsequent admin-panel renders to prioritize payloads that actually executed, and raise severity to critical when an admin view is observed.


Hunting Queries

Hunt for repeated XSS-marker POST submissions to the NukeViet contact module grouped by source IP to find campaign-style probing of CVE-2026-94565.

Hunting — KQL
kql
// df00tech DF00-381915f24d · https://df00tech.com/detections/CVE-2026-94565 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csMethod=="POST" and csUriStem has "contact" | extend d=tolower(url_decode(csUriQuery)) | where d has_any("<script","onerror=","document.cookie","%3cscript") | summarize count() by cIP, bin(TimeGenerated, 1h)
Hunting — SPL
spl
``` df00tech DF00-381915f24d · https://df00tech.com/detections/CVE-2026-94565 · licence: https://df00tech.com/detections/licence ```
index=web method=POST (uri_path="*contact*") | eval p=lower(urldecode(_raw)) | search p="*<script*" OR p="*onerror=*" OR p="*document.cookie*" | stats count by src_ip, uri_path

Atomic Red Team Tests

Test 1 Stored XSS submission via contact form (script tag)
linux

Submits a contact form POST with a classic script-tag payload to a lab NukeViet instance to validate detection of CVE-2026-94565.

Command

bash
curl -s -X POST 'http://nukeviet.lab/index.php?nv=contact' --data-urlencode 'fullname=<script>alert(document.cookie)</script>' --data-urlencode '[email protected]' --data-urlencode 'subject=hello' --data-urlencode 'content=test message'

Cleanup

bash
mysql -u root nukeviet -e "DELETE FROM nv4_contact WHERE email='[email protected]';"

Expected Telemetry

Web-server access log shows a POST to the contact endpoint with a URL-encoded <script> payload in the request body.

Expected Detection

KQL/SPL rules match on the <script and document.cookie markers in the decoded contact POST.

Test 2 Stored XSS submission via img onerror handler
linux

Submits an img-based onerror XSS payload to evade naive script-tag filters, testing CVE-2026-94565 detection coverage.

Command

bash
curl -s -X POST 'http://nukeviet.lab/index.php?nv=contact' --data-urlencode 'fullname=<img src=x onerror=alert(1)>' --data-urlencode '[email protected]' --data-urlencode 'subject=hi' --data-urlencode 'content=payload'

Cleanup

bash
mysql -u root nukeviet -e "DELETE FROM nv4_contact WHERE email='[email protected]';"

Expected Telemetry

Access log records a POST to the contact module containing an onerror= event-handler payload.

Expected Detection

Detection matches on the onerror= and <img markers in the contact submission.

Test 3 Stored XSS submission with SVG/entity-encoded payload (Windows)
windows

From a Windows host, submits an SVG and HTML-entity-encoded XSS payload to validate decoding and detection for CVE-2026-94565.

Command

powershell
powershell -c "Invoke-WebRequest -Uri 'http://nukeviet.lab/index.php?nv=contact' -Method POST -Body @{fullname='<svg/onload=alert(1)>';email='[email protected]';subject='%3cscript%3ealert(1)%3c/script%3e';content='x'}"

Cleanup

powershell
powershell -c "Invoke-WebRequest -Uri 'http://nukeviet.lab/admin/index.php?nv=contact&op=delete&[email protected]'"

Expected Telemetry

IIS W3C log shows a POST to the contact endpoint with <svg/onload and %3cscript entity-encoded markers.

Expected Detection

Detection matches after URL-decoding on the <svg, onload, and %3cscript markers.

Related Detections

Browse by tactic

Full ATT&CK matrix Search all detections