CVE-2026-94565: NukeViet CMS Unauthenticated Stored XSS in Contact Module
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 PoCAffected Software
- Vendor
- composer
- Product
- nukeviet/nukeviet
- Versions
- >= 3.0.0, < 4.6.01
Weakness (CWE)
Timeline
- Disclosed
- November 30, 2026
References & Proof of Concept
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-662q-v5rm-78gm
- https://nvd.nist.gov/vuln/detail/CVE-2026-94565
- https://github.com/nukeviet/nukeviet/commit/ef90780e50d54384019a36aa2bcf9fd58776f698
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.html
- https://github.com/advisories/GHSA-662q-v5rm-78gm
CVSS
- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
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
// 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","<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.
Data Sources
Required Tables
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:
Platform-specific guides for CVE-2026-94565
References (6)
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-662q-v5rm-78gm
- https://nvd.nist.gov/vuln/detail/CVE-2026-94565
- https://github.com/nukeviet/nukeviet/commit/ef90780e50d54384019a36aa2bcf9fd58776f698
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.html
- https://github.com/advisories/GHSA-662q-v5rm-78gm
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.
- 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.
- 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.
- 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
- 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.
- 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.
- 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.
- Identify the source IP, user-agent and geolocation of the submitter and correlate against known scanner or threat-intel infrastructure.
Containment
- Deploy a WAF rule to block contact-form POST bodies containing HTML/script markers until the instance is patched.
- Purge the malicious stored entry from the nv4_contact (or equivalent nv*_contact) database table so it cannot render in the admin panel again.
- Force-invalidate active administrator sessions and rotate admin credentials if evidence shows an admin viewed the payload (possible session-cookie theft).
Evidence Collection
- Preserve the raw web-server access/error logs and WAF logs covering the submission and any subsequent admin views.
- Export the offending row(s) from the contact database table with timestamps before deletion.
- 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.
// 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) ``` 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
Submits a contact form POST with a classic script-tag payload to a lab NukeViet instance to validate detection of CVE-2026-94565.
Command
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
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.
Submits an img-based onerror XSS payload to evade naive script-tag filters, testing CVE-2026-94565 detection coverage.
Command
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
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.
From a Windows host, submits an SVG and HTML-entity-encoded XSS payload to validate decoding and detection for CVE-2026-94565.
Command
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 -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
Tactic Hub
Related Techniques
Same Tactic: Initial Access
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040