Stored cross-site scripting in NukeViet CMS via SVG uploads
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-434 and CWE-79.
Summary
NukeViet CMS before 4.5.12 and from 4.6.00 before 4.6.02 is affected. The SVG sanitizer checks only element nodes, so a script hidden in an internal DTD entity is stored unchanged (CWE-79). An unauthenticated attacker can upload such a file when comment attachments are open to guests, and a module administrator can upload it as well. When the stored file is served as image/svg+xml, the script runs on the site's origin, including in an administrator's session.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nukeviet | nukeviet | before 4.5.12; 4.6.00 to before 4.6.02 | 4.5.12, 4.6.02 | Patch available | CNA |
| — | nukeviet/nukeviet (Packagist) | before 4.5.12 | 4.5.12 | Patch available | GHSA-cp55-wmv6-wxpp |
| — | nukeviet/nukeviet (Packagist) | 4.6.00 and later | — | No fix listed | GHSA-cp55-wmv6-wxpp |
- nukeviet Vendornukeviet Affected before 4.5.12; 4.6.00 to before 4.6.02 Fixed in 4.5.12, 4.6.02 Patch available CNA
- nukeviet/nukeviet (Packagist) Vendor— Affected before 4.5.12 Fixed in 4.5.12 Patch available GHSA-cp55-wmv6-wxpp
- nukeviet/nukeviet (Packagist) Vendor— Affected 4.6.00 and later Fixed in — No fix listed GHSA-cp55-wmv6-wxpp
Remediation
Upgrade NukeViet to 4.5.12 or 4.6.02, whichever matches your release. The Packagist entry for nukeviet/nukeviet from 4.6.00 lists no fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA nukeviet (nukeviet) Fixed in 4.5.12, 4.6.02
- Fix · GHSA-cp55-wmv6-wxpp nukeviet/nukeviet (Packagist) Fixed in 4.5.12 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-94567
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
- 2026-11-28 EPSS moved to the 50th–90th percentile
- 2026-11-30 Alias added: GHSA-cp55-wmv6-wxpp
- 2026-11-30 Fix available: Packagist/nukeviet/[email protected] · GHSA-cp55-wmv6-wxpp
- 2026-11-30 CVSS score added · GHSA-cp55-wmv6-wxpp
- 2026-11-30 Weakness changed · GHSA-cp55-wmv6-wxpp
- 2026-11-30 8 new references · GHSA-cp55-wmv6-wxpp
References
Other 7
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp
- 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/nukeviet/nukeviet
More nukeviet vulnerabilities
- TI-2026-95999 NukeViet CMS: Unauthenticated Stored XSS in the Contact module CVSS 3.1CRITICAL 9.3
- TI-2024-24299 nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization… CVSS 3.1HIGH 8.8
- TI-2026-95995 Server-side request forgery in NukeViet via incomplete X-Forwarded-Host fix CVSS 3.1HIGH 7.2
- TI-2026-95998 Stored XSS in NukeViet CMS Contact module via HTML sanitizer bypass CVSS 3.1HIGH 8.2
- TI-2026-95986 Reflected cross-site scripting in NukeViet CMS comment module CVSS 3.1HIGH 8.2
- TI-2026-95992 Login lockout bypass via untrusted forwarded-IP headers in NukeViet CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-94567 · CVE Program
- CVE-2026-94567 · NVD
- FIRST EPSS
- GHSA-cp55-wmv6-wxpp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences