Packagist
CVE-2026-94567
NukeViet CMS: Stored XSS via internal DTD entities in SVG uploads
- Severity
- Critical 9.3
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 4.5.12
- Exploit chance
- 0.9% in the next 30 daysHigher than 56% of CVEs. EPSS by FIRST, 30 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N- Also known as
- GHSA-cp55-wmv6-wxpp
- Sources
- OSV.dev and GitHub
Description
This is a stored cross-site scripting (XSS) vulnerability. An uploaded SVG can carry a element hidden inside an internal DTD entity; the server-side sanitizer never sees it, stores the file byte-for-byte, and serves it as image/svg+xml`, so the script executes in the site's own origin when the file URL is opened in a browser.
The SVG sanitizer sanitize_svg_dom() enumerates elements with DOMXPath::query('//') and rejects any tag outside an allow-list, so a plain scripted SVG is correctly blocked. The check is bypassed by declaring the script inside an internal DTD entity, because DOMDocument is loaded without LIBXML_NOENT; libxml therefore keeps the reference as a DOMEntityReference node (node type 5, not an element), // never returns the , and the file passes validation. Browsers parsing image/svg+xml do expand internal entities, so a real element materialises client-side.
Workarounds
For users who cannot update immediately:
- Remove svg from the allowed upload types - in the admin upload configuration and in the extension groups used by comment attachments and banner plans (the images group in includes/ini/mime.ini contains svg).
- Serve the uploads directory with Content-Disposition: attachment for .svg files and/or a restrictive Content-Security-Policy, so SVGs are downloaded rather than rendered inline and any script is contained.
Affected software
| Software | Affected versions |
|---|---|
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet |
|
About nukeviet/nukeviet
- Monthly downloads (Packagist)
- 9Packagist, 30 Nov 2026
- Total downloads (Packagist)
- 45Packagist, 30 Nov 2026
Vulnerabilities in nukeviet/nukeviet
- In our list
- 11
- Published in the last 12 months
- 11
- Critical, last 12 months
- 2
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-94599NukeViet CMS: Reflected XSS in news module search via double URL decoding of the q parameterMedium 6.1 30 Nov 2026
- CVE-2026-94598NukeViet CMS: Stored XSS via internal marker injection in iframe srcdoc sanitizationHigh 8.2 30 Nov 2026
- CVE-2026-94597NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)High 7.5 30 Nov 2026
- CVE-2026-94564NukeViet CMS: Unauthenticated Stored XSS in the Contact Module via HTML Sanitizer BypassHigh 8.2 30 Nov 2026
- CVE-2026-94565NukeViet CMS: Unauthenticated Stored XSS in the Contact ModuleCritical 9.3 30 Nov 2026
- CVE-2026-94562NukeViet CMS: Remote Code Execution via unrestricted custom field validation callback in the `users` moduleHigh 7.2 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-94567
- GitHub Advisory Database https://github.com/advisories/GHSA-cp55-wmv6-wxpp