NukeViet CMS: Stored XSS via SVG upload: the sanitizer is blind to markup hidden inside an internal DTD entity

Summary

CVECVE-2026-94567
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 19:18:56 UTC
Updated2026-11-20 20:17:51 UTC
DescriptionNukeViet 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.

Risk And Classification

Primary CVSS: v3.1 9.3 CRITICAL from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Problem Types: CWE-79 | CWE-434 | CWE-436 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation | CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type | CWE-436 CWE-436: Interpretation Conflict


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.3CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
3.1CNADECLARED9.3CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Nukeviet Nukeviet affected < 4.5.12 Not specified
CNA Nukeviet Nukeviet affected >= 4.6.00, < 4.6.02 Not specified

References

ReferenceSourceLinkTags
github.com/nukeviet/nukeviet/security/advisories/GHSA-cp55-wmv6-wxpp 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com
github.com/nukeviet/nukeviet/commit/b4abcddd3a3a628e251d88571f3968822fab... [email protected] github.com
github.com/nukeviet/nukeviet/commit/912823e2581afc23dc39dabdb7d94c718efc... [email protected] github.com
github.com/nukeviet/nukeviet/releases/tag/4.6.02 [email protected] github.com
nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html [email protected] nukeviet.vn
github.com/nukeviet/nukeviet/blob/4.5.13/CHANGELOG.txt [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report