Skip to content
DayZeroHub
Critical CVSS 9.3CVE-2026-94567

NukeViet CMS: Stored XSS via SVG upload (CVE-2026-94567)

nukeviet nukeviet

Summary

NukeViet CMS allows an SVG file with a script hidden in an internal DTD entity to bypass sanitization and be stored unchanged. The issue is fixed in versions 4.5.12 and 4.6.02.

What happened

Before versions 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. The checking function loads the document without expanding entities, leaving an entity reference, and the sanitization routine inspects only element nodes. Browsers do expand the entity when the stored file is served as image/svg+xml. In addition, the SVG path returned before the image verification step and preserved the original bytes, so the hidden content reached disk unchanged. The associated weaknesses are CWE-79, CWE-434 and CWE-436.

Why it matters

According to the description, the upload is unauthenticated only when a module's comment feature is open to the All or Guest group and the allowattachcomm option is enabled. Module administrators can also use the file manager. The result is same-origin script execution within an administrator's session. The CVSS 3.1 score is 9.3 (critical severity, assigned by CNA:GitHub_M), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N. CISA's KEV catalog does not list known exploitation, and the source does not state active exploitation.

Affected products and versions

NukeViet (nukeviet): versions < 4.5.12 and versions >= 4.6.00, < 4.6.02.

ProductVersionsFixed in
nukeviet nukeviet< 4.5.12—
nukeviet nukeviet>= 4.6.00, < 4.6.02—

Action recommended by the source

The vendor states the issue is fixed in versions 4.5.12 and 4.6.02. The source does not mention other mitigations.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79, CWE-434, CWE-436

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources