← VULNERABILITIES

CVE-2026-94567

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

Critical · 9.3Fix available
CVSS
9.3
EPSS
0.88% (p57)
Published
2026-11-20
Age
11d old
Modified
2026-11-30
Product
nukeviet nukeviet
Aliases
EUVD-2026-131741, GHSA-cp55-wmv6-wxpp

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

Description

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.

Fixed in

4.5.12

Affected packages

EcosystemPackageRangeFixed
Packagistnukeviet/nukeviet< 4.5.124.5.12
Packagistnukeviet/nukeviet>= 4.6.00—
Packagistnukeviet/nukeviet>=0, <4.5.124.5.12

Sources

References

JSON