CVE-2026-94567nukeviet
XSS Injection via SVG Upload in NukeViet CMS
Critical 9.3 No auth needed
Follow: this CVE · nukeviet · nukeviet We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
What happens
NukeViet CMS prior to versions 4.5.12 and 4.6.02 allows attackers to inject malicious scripts through SVG file uploads with hidden DTD entities. An unauthenticated attacker can exploit this vulnerability if guest comment attachments are enabled, or an administrator can be compromised via the file manager, resulting in JavaScript execution in the browser.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 4.5.12, 4.6.02
Update NukeViet CMS to version 4.5.12 or 4.6.02 or later. Disable guest comment attachments if not required.
- Apply the vendor's security update for nukeviet.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | nukeviet/nukeviet |
< 4.5.12 |
4.5.12 |
composer require "nukeviet/nukeviet:^4.5.12" |
| Packagist | nukeviet/nukeviet |
≥ 4.6.00 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-cp55-wmv6-wxpp). Check the version in your lockfile before upgrading.
Affected products
- nukeviet · nukeviet
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.