Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAccess SVG upload flow (guest comment or module admin)
-
DeliveryCraft SVG with script in internal DTD entity
-
ExploitBypass sanitizer blind to entity references
-
InstallStore malicious SVG byte-for-byte on server
-
C2Send /uploads/*.svg link to administrator
-
ExecuteBrowser expands entity, script runs in admin session
-
ImpactHijack administrator session / escalate to site admin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target accept SVG uploads (the default 'images' extension group in includes/ini/mime.ini includes svg). The unauthenticated path specifically requires a module's comment feature to be opened to the 'All' or 'Guest' group AND allowattachcomm (comment attachments) enabled - without that configuration, guests cannot upload. Independently, any module administrator (not just site admin) can reach the file manager at nv=upload&op=upload, making this also a module-admin-to-site-admin escalation. Script execution is not automatic: because CVSS is UI:R, a victim - realistically an administrator - must open the stored /uploads/<name>.svg URL directly in a browser for the hidden entity to expand and execute; there is no CSP and no Content-Disposition on the uploads directory to contain it, and X-Content-Type-Options: nosniff does not stop image/svg+xml from running script. Limiting factors: the dependence on the non-default guest-attachment configuration for the unauthenticated case, the required administrator interaction, and the affected version range (<=4.5.11 and <=4.6.01). |
| Impact | This is a genuine high-priority issue, and the signals are mostly consistent. The input CVSS of 9.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N) describes a network-reachable, low-complexity stored XSS with a scope change, and the vuln.today decision label is act_now, which should drive remediation urgency. A complete, verified proof-of-concept (payload plus reproduction steps, including a control test) is published in the vendor's GHSA advisory, so the technical reality of the bypass is well established - this is a parser-differential (CWE-436) where the server-side sanitizer parses the SVG without entity expansion and never sees a <script> smuggled inside an internal DTD entity, while the browser expands it when the file is served as image/svg+xml. Two independent signals temper raw severity: (1) the flaw requires user interaction (UI:R) - a victim, typically an administrator, must open the stored /uploads/*.svg link for the script to run - and (2) the truly unauthenticated entry point depends on a non-default-but-supported configuration (guest comment attachments enabled). The PR:N rating is defensible only for that guest-upload configuration; the always-available path is any module admin using the file manager, which is PR:L. No EPSS score and no CISA KEV status were provided, so there is no evidence of active exploitation - do not treat this as exploited in the wild. In short: a real, confirmed, patch-now stored XSS with a working PoC, but its worst-case unauthenticated reach is gated by whether guest comment attachments are enabled, and successful compromise still needs an admin to open the malicious link. |
| Exploit ScenarioDerived | An attacker uploads an SVG whose <script> is hidden inside an internal DTD entity through a NukeViet upload flow - either a guest comment attachment on a site where comment uploads are open to the Guest/All group, or the admin file manager as a low-privilege module admin. The file passes sanitization and is stored byte-for-byte, then the attacker sends the /uploads/<name>.svg link to a site administrator; when the admin opens it, the browser expands the entity into a live <script> that runs in the site's own origin with the admin's session. A full working proof-of-concept and reproduction steps are published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Stored cross-site scripting (XSS) in NukeViet CMS affects versions through 4.5.11 and through 4.6.01: an SVG file whose <script> payload is hidden inside an internal DTD entity slips past the server-side sanitizer, is written to disk byte-for-byte, and executes in the site's own origin when the stored /uploads/<name>.svg URL is opened in a browser. The most severe entry point is the guest comment attachment flow, which is reachable without authentication only when a module's comment feature is opened to the 'All' or 'Guest' group and allowattachcomm is enabled; independently, any module administrator (site-admin not required) can reach the file manager at nv=upload&op=upload, making this also a module-admin-to-site-admin escalation. Exploitation is not automatic - the CVSS vector is UI:R, so a victim, realistically an administrator, must open the uploaded SVG directly - but there is no CSP and no Content-Disposition on the uploads directory to contain the script, and nosniff does not stop image/svg+xml from running script; a working payload is documented in the public GitHub advisory, and the vuln.today decision label for this issue is act_now. Fixed releases are 4.5.12 and 4.6.02.
RemediationAI
Vendor-released patch: upgrade to NukeViet 4.5.12 or 4.6.02 (or later), which contain fix commit b4abcddd3 - the change rejects SVGs declaring a DOCTYPE, re-serialises the sanitised DOM before writing it to disk, and re-enables the verify_image() raw-byte screen on the SVG path; sites that vendor the vinades/nukeviet Composer package must update that package as well as the CMS tree, not only the CMS files. If immediate upgrade is not possible, the upstream advisory lists three concrete workarounds, each with trade-offs: remove svg from the allowed upload types in the admin upload configuration and from the extension groups used by comment attachments and banner plans (the 'images' group in includes/ini/mime.ini contains svg), accepting that legitimate SVG assets can no longer be uploaded through those flows; serve .svg files from the uploads directory with Content-Disposition: attachment and/or a restrictive Content-Security-Policy so they download instead of rendering inline (legitimate inline SVG previews stop working, but any smuggled script is contained); and restrict who can upload by disabling front-end comment and banner attachments (allowattachcomm and banner upload plans) and reviewing which accounts hold module-admin rights, since module admins can reach nv=upload&op=upload without site-admin privileges. Advisory: https://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is a parser differential (CWE-436, with CWE-434 unrestricted upload and CWE-79 as the resulting impact class) in Files/Upload.php of the vinades/nukeviet package. check_svg_tmpfile() loads the uploaded document with DOMDocument::load($tmp_name, LIBXML_NONET) but without LIBXML_NOENT, so libxml does not expand internal DTD entities and keeps them as DOMEntityReference nodes (node type 5, not element nodes). sanitize_svg_dom() then enumerates the tree with DOMXPath::query('//*'), which returns elements only, so a <script> declared inside an internal entity is invisible to the allow-list check and the document passes validation; browsers parsing the file as image/svg+xml do expand the entity, materialising a real script element client-side. Two further defects defeat defence in depth: check_tmpfile() returns the result of check_svg_tmpfile() before ever calling verify_image(), so the raw-byte preg_match screen for a literal <script> never runs on SVG uploads (its $svg=true branch is unreachable because both call sites use the default false), and the admin upload handler skips image re-processing for SVGs, so the attacker's exact bytes reach disk without re-serialisation. The fix in commit b4abcddd3 (CHANGELOG 4.6.02) rejects any SVG that declares a DOCTYPE ($dom->doctype !== null), re-serialises the sanitised DOM with saveXML() + file_put_contents() so stored bytes equal validated bytes, and restores verify_image($tmp_name, true); the same change replaces DOMDocument::load() with file_get_contents() + loadXML() to keep uploads working on PHP 7.x where libxml_disable_entity_loader(true) blocks file I/O through the entity loader, without weakening the posture (no LIBXML_NOENT, no LIBXML_DTDLOAD, LIBXML_NONET set).
Know when Nukeviet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Network-reachable deterministic entity-smuggling bypass (AV:N/AC:L); PR:N holds only where guest comment uploads are enabled; victim must open the SVG (UI:R); script runs cross-origin in the admin session (S:C, C:H/I:H, no availability impact A:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
NukeViet CMS is a multi Content Management System. Prior to 4.5.12 and 4.6.02, an attacker with access to an SVG upload flow can hide a script element in an internal DTD entity. NukeViet\Files\Upload::check_svg_tmpfile() loads the document without entity expansion, leaving a DOMEntityReference, and sanitize_svg_dom() inspects only element nodes, while browsers expand the entity when the stored file is served as image/svg+xml. The SVG path also returned before verify_image() and preserved the original bytes, so the hidden script reached disk unchanged. Guest comment attachments make the upload unauthenticated only when a module's comment feature is open to the All or Guest group and allowattachcomm is enabled; module administrators can also use the file manager, allowing same-origin script execution in an administrator's session. This issue is fixed in versions 4.5.12 and 4.6.02.
Technical POC Analysis
Stored XSS caused by an SVG sanitizer bypass.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical stored cross-site scripting vulnerability in NukeViet CMS (versions through 4.5.11 and 4.6.01) allows attackers to upload malicious SVG files that execute in the site's origin when opened by an administrator, potentially leading to full site compromise. The guest comment attachment flow can be exploited without authentication if comment features are open to guests, and module administrators can also upload such files. Leadership should prioritize remediation due to the risk of administrative account takeover and data breach.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization vulnerability which results in co
clearsystem.php in NukeViet 4.4 allows CSRF with resultant HTML injection via the deltype parameter to the admin/index.p
modules\users\admin\edit.php in NukeViet 4.4 allows CSRF to change a user's password via an admin/index.php?nv=users&op=
modules\users\admin\add_user.php in NukeViet 4.4 allows CSRF to add a user account via the admin/index.php?nv=users&op=u
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before are vulnerable to arbitrary code execution via the /admi
There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02. Rated medium severity (CVSS 5.
Stored cross-site scripting in NukeViet CMS (3.x line through 4.6.00, fixed in 4.6.01) lets an unauthenticated visitor p
Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that
Unauthenticated stored cross-site scripting in the Contact module of NukeViet CMS before 4.6.01 lets any anonymous visit
Remote code execution in NukeViet CMS 4.5.x through 4.5.11 and 4.6.x through 4.6.01 is reachable by an attacker who can
PHP object injection leading to remote code execution in NukeViet CMS 4.x extension-store handlers, fixed in 4.6.00. Bec
Pre-authentication server-side request forgery in NukeViet CMS 4.6.00 lets remote unauthenticated attackers make the ser
EUVD-2026-131741
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB