Skip to content
CVE-2026-94567 CrowdStrike LogScale · LogScale

Detect NukeViet CMS Stored XSS via Internal DTD Entities in SVG Uploads (CVE-2026-94567) in CrowdStrike LogScale

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.

MITRE ATT&CK

Tactic
Initial Access Execution

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// df00tech DF00-04b7618b50 · https://df00tech.com/detections/CVE-2026-94567 · licence: https://df00tech.com/detections/licence
#event_simpleName=/HttpRequest|WebRequest/i
| (HttpMethod="POST" and (HttpUrl=/upload/i or HttpUrl=/filemanager/i or HttpUrl=/nukeviet/i)) or HttpUrl=/\.svg($|\?)/i
| groupBy([aid, RemoteAddressIP4, HttpUrl, HttpMethod], function=count())
| sort(count, order=desc)
high severity medium confidence

CrowdStrike CQL query identifying SVG upload and retrieval activity against NukeViet upload endpoints tied to CVE-2026-94567 stored XSS.

Data Sources

Falcon Web/HTTP Telemetry

Required Tables

HttpRequest

False Positives & Tuning

  • Administrator SVG asset uploads.
  • Caching proxies re-fetching SVG files.
  • Scanner-driven upload probing.

Other platforms for CVE-2026-94567


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 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.

  2. Test 2 Retrieve stored malicious SVG

    Expected signal: Web access log entry showing a GET for a .svg file from the uploads directory.

  3. 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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. Quarantine or delete the malicious SVG file from the uploads directory and remove any cached copies from CDN/proxy layers.
  2. Disable or reset the compromised uploader account and revoke active admin sessions to invalidate any stolen session tokens.
  3. 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

  1. Preserve the original malicious SVG file, web server access/error logs, and NukeViet application upload logs covering the upload and any subsequent renders.
  2. 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.

Hunting — KQL
kql
// 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
Hunting — SPL
spl
``` 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

Test 1 Upload SVG with internal DTD entity payload
linux

Simulates uploading a malicious SVG containing an internal DTD entity declaration and script payload to a NukeViet-style upload endpoint in a lab.

Command

bash
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

bash
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.

Test 2 Retrieve stored malicious SVG
linux

Simulates a victim browser retrieving the previously uploaded malicious SVG from the uploads directory, triggering stored XSS rendering.

Command

bash
curl -s -A "Mozilla/5.0" "http://localhost:8080/uploads/evil.svg" -o /dev/null

Cleanup

bash
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.

Test 3 Upload SVG with event-handler XSS vector
windows

Uploads an SVG using an onload event handler instead of a script tag, covering an alternate stored XSS vector.

Command

powershell
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
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