NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567)
Detects exploitation of CVE-2026-94567, a stored cross-site scripting vulnerability in NukeViet CMS (versions < 4.5.12 and >= 4.6.00 before 4.6.02). The flaw stems from improper handling of internal DTD entity declarations and interpretation conflicts (CWE-436) in uploaded SVG files, allowing an authenticated or privileged user to upload a crafted SVG containing embedded scripts or entity-expanded payloads that execute in the context of other users' browsers when the image is rendered. This detection surfaces SVG uploads to NukeViet upload endpoints, SVG files containing DTD/entity/script constructs served from the NukeViet uploads directory, and web server telemetry indicating stored XSS delivery. CVSS 9.3, public PoC available.
Vulnerability Intelligence
Public PoCAffected Software
- Vendor
- composer
- Product
- nukeviet/nukeviet
- Versions
- < 4.5.12, >= 4.6.00
Timeline
- Disclosed
- November 30, 2026
References & Proof of Concept
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp
- https://nvd.nist.gov/vuln/detail/CVE-2026-94567
- https://github.com/nukeviet/nukeviet/commit/912823e2581afc23dc39dabdb7d94c718efc78f6
- https://github.com/nukeviet/nukeviet/commit/b4abcddd3a3a628e251d88571f3968822fab4406
- https://github.com/nukeviet/nukeviet/blob/4.5.13/CHANGELOG.txt
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html
- https://github.com/advisories/GHSA-cp55-wmv6-wxpp
CVSS
What is CVE-2026-94567 NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567)?
NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567) (CVE-2026-94567) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567), covering the data sources and telemetry it touches: IIS Web Server Logs, W3CIISLog. 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 Execution
// df00tech DF00-04b7618b50 · https://df00tech.com/detections/CVE-2026-94567 · licence: https://df00tech.com/detections/licence
let uploadPaths = dynamic(["/nv/upload/", "/admin/upload", "/index.php?language=", "/vendor/nukeviet", "/uploads/"]);
W3CIISLog
| where csUriStem has_any ("upload", "filemanager", "nv-upload") or csUriQuery has "nukeviet"
| where csMethod == "POST" or csUriStem endswith ".svg"
| extend isSvg = csUriStem endswith ".svg"
| where isSvg or (csMethod == "POST" and csUriStem has_any (uploadPaths))
| project TimeGenerated, cIP, csMethod, csUriStem, csUriQuery, scStatus, csUserAgent, sSiteName
| sort by TimeGenerated desc Identifies SVG upload POST requests and SVG retrieval against NukeViet upload/filemanager endpoints in IIS W3C logs, flagging potential stored XSS delivery via crafted SVG files.
Data Sources
Required Tables
False Positives
- Legitimate administrators uploading branding or icon SVG assets through the NukeViet file manager.
- Automated content synchronization jobs that repost SVG media to the uploads directory.
- Vulnerability scanners probing upload endpoints with benign SVG test files.
Query fingerprint DF00-04b7618b50 · licence
Sigma logsource & community rules
The detection logic for NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567) (CVE-2026-94567) 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:
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-94567
References (8)
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp
- https://nvd.nist.gov/vuln/detail/CVE-2026-94567
- https://github.com/nukeviet/nukeviet/commit/912823e2581afc23dc39dabdb7d94c718efc78f6
- https://github.com/nukeviet/nukeviet/commit/b4abcddd3a3a628e251d88571f3968822fab4406
- https://github.com/nukeviet/nukeviet/blob/4.5.13/CHANGELOG.txt
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html
- https://github.com/advisories/GHSA-cp55-wmv6-wxpp
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 Upload SVG with internal DTD entity payload
Expected signal: Web access log entry showing a POST to the upload endpoint with an image/svg+xml file.
- Test 2 Retrieve stored malicious SVG
Expected signal: Web access log entry showing a GET for a .svg file from the uploads directory.
- Test 3 Upload SVG with event-handler XSS vector
Expected signal: Web access log entry showing a POST upload of an SVG with image/svg+xml content type.
Response Playbook
Triage
- Identify the source IP and the authenticated NukeViet user account associated with the SVG upload and determine whether the account is authorized to upload media.
- Retrieve the uploaded SVG file from the NukeViet uploads directory and inspect it for <!DOCTYPE>/<!ENTITY> declarations, <script> elements, javascript: URIs, on* event handlers, or <foreignObject> payloads.
- Confirm the deployed NukeViet version against affected ranges (< 4.5.12 and >= 4.6.00 before 4.6.02) to establish whether the instance is vulnerable.
- Determine whether the malicious SVG was subsequently rendered/served to other users by reviewing access logs for GET requests to the stored file path.
Containment
- Quarantine or delete the malicious SVG file from the uploads directory and remove any cached copies from CDN/proxy layers.
- Disable or reset the compromised uploader account and revoke active admin sessions to invalidate any stolen session tokens.
- Apply the vendor fix by upgrading to NukeViet 4.5.13 / 4.6.02 or later, or restrict SVG uploads and enable server-side SVG sanitization as an interim measure.
Evidence Collection
- Preserve the original malicious SVG file, web server access/error logs, and NukeViet application upload logs covering the upload and any subsequent renders.
- Capture the full HTTP request body of the upload POST and the response, plus the uploader account's session and activity history.
Escalation Criteria
- ! Escalate to incident response if log review shows the malicious SVG was served to administrator sessions or if admin session cookies/tokens may have been exfiltrated.
- ! Escalate if evidence indicates follow-on actions such as unauthorized account creation, privilege changes, or additional web shell/content injection stemming from the XSS.
Investigation Guide
Forensic Artifacts
- >
The uploaded SVG file in the NukeViet uploads directory and its filesystem timestamps. - >
Web server access/error logs and NukeViet application logs recording the upload and subsequent renders. - >
Browser/endpoint telemetry of admin sessions that rendered the stored SVG.
Tuning Guidance
Baseline the normal SVG upload paths and administrator accounts for your NukeViet deployment, then exclude known-good asset pipelines and branding uploads. Prioritize alerts where the uploaded SVG file content contains DTD entity declarations, script elements, or event-handler attributes, and where the file is subsequently served to additional source IPs. Reduce noise by scoping to the NukeViet uploads directory and file manager endpoints rather than all SVG traffic.
Hunting Queries
Finds SVG files that were both uploaded and later retrieved, highlighting stored SVGs delivered to multiple viewers.
// df00tech DF00-04b7618b50 · https://df00tech.com/detections/CVE-2026-94567 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem endswith ".svg" | summarize uploads=countif(csMethod=="POST"), views=countif(csMethod=="GET") by csUriStem, cIP | where uploads > 0 and views > 0 ``` df00tech DF00-04b7618b50 · https://df00tech.com/detections/CVE-2026-94567 · licence: https://df00tech.com/detections/licence ```
index=web (sourcetype=access_combined OR sourcetype=iis) uri_path="*.svg" | stats count(eval(method="POST")) as uploads count(eval(method="GET")) as views by uri_path, clientip | where uploads>0 AND views>0 Atomic Red Team Tests
Simulates uploading a malicious SVG containing an internal DTD entity declaration and script payload to a NukeViet-style upload endpoint in a lab.
Command
printf '<?xml version="1.0"?>\n<!DOCTYPE svg [ <!ENTITY x "xss"> ]>\n<svg xmlns="http://www.w3.org/2000/svg"><script>alert(document.cookie)</script><text>&x;</text></svg>' > /tmp/evil.svg && curl -s -F "userfile=@/tmp/evil.svg;type=image/svg+xml" "http://localhost:8080/nv/upload/" Cleanup
rm -f /tmp/evil.svg Expected Telemetry
Web access log entry showing a POST to the upload endpoint with an image/svg+xml file.
Expected Detection
KQL/SPL upload rules match the POST SVG upload to the NukeViet upload path.
Simulates a victim browser retrieving the previously uploaded malicious SVG from the uploads directory, triggering stored XSS rendering.
Command
curl -s -A "Mozilla/5.0" "http://localhost:8080/uploads/evil.svg" -o /dev/null Cleanup
echo 'no cleanup required' Expected Telemetry
Web access log entry showing a GET for a .svg file from the uploads directory.
Expected Detection
SVG retrieval branch of the detection matches the GET request for the .svg file.
Uploads an SVG using an onload event handler instead of a script tag, covering an alternate stored XSS vector.
Command
powershell -Command "Set-Content -Path $env:TEMP\evil2.svg -Value '<svg xmlns=\"http://www.w3.org/2000/svg\" onload=\"alert(1)\"></svg>'; Invoke-WebRequest -Uri 'http://localhost:8080/nv/upload/' -Method Post -InFile $env:TEMP\evil2.svg -ContentType 'image/svg+xml'" Cleanup
powershell -Command "Remove-Item $env:TEMP\evil2.svg -ErrorAction SilentlyContinue" Expected Telemetry
Web access log entry showing a POST upload of an SVG with image/svg+xml content type.
Expected Detection
Upload detection rules match the POST SVG upload request.
Related Detections
Tactic Hubs
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