Summary
NukeViet CMS, from the 3.x release line up to but not including version 4.6.01, allows an unauthenticated visitor to store JavaScript in a Contact module message that runs when an administrator opens it. The source states it is fixed in version 4.6.01.
What happened
An unauthenticated visitor can submit a Contact module message containing an event-handler attribute prefixed by a slash. The NukeViet\Core\Request::filterTags() function splits attributes using only ASCII spaces, so it does not recognize the attribute as an event handler and it passes the denylist, while the browser treats the slash as a separator and activates the attribute. The message is stored and displayed in the administration panel without output encoding, and that panel has no Content Security Policy. This allows same-origin JavaScript execution when an administrator opens the message. It is classified as CWE-79.
Why it matters
The source rates the severity as critical, with a CVSS 3.1 score of 9.3 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, per CNA:GitHub_M). The attack requires no authentication but depends on an administrator opening the message. The issue is not listed as exploited in CISA's KEV catalog, and the source does not state any evidence of active exploitation.
Affected products and versions
NukeViet (vendor: nukeviet), versions >= 3.0.0 and < 4.6.01.
| Product | Versions | Fixed in |
|---|---|---|
| nukeviet nukeviet | >= 3.0.0, < 4.6.01 | — |
Action recommended by the source
The vendor states the issue is fixed in version 4.6.01. References include security advisory GHSA-662q-v5rm-78gm, the fix commit (ef90780e50d54384019a36aa2bcf9fd58776f698), and the 4.6.01 release notes on GitHub and nukeviet.vn. The source does not state any other mitigations.
Sources and references
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-662q-v5rm-78gm — CVE Program
- https://github.com/nukeviet/nukeviet/commit/ef90780e50d54384019a36aa2bcf9fd58776f698 — CVE Program
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.01 — CVE Program
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-01-857.html — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Advisory published.