Critical · 9.3 PHP packages CVE-2026-94565 PKSA-tvsv-q5c6-6bxy GHSA-662q-v5rm-78gm
NukeViet CMS: Unauthenticated Stored XSS in the Contact Module (CVE-2026-94565)
An unauthenticated stored cross-site scripting vulnerability in NukeViet CMS's Contact module allows an attacker to execute JavaScript in an administrator's session by crafting a malicious message. The issue is fixed in version 4.6.01.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A stored cross-site scripting vulnerability has been identified in NukeViet CMS, a multi-purpose content management system. The flaw affects the Contact module and can be triggered by an unauthenticated visitor, making it a significant risk for any site running an affected version. A fix is available in version 4.6.01.
What happened
NukeViet CMS contains a stored cross-site scripting (XSS) vulnerability in its Contact module. An unauthenticated visitor can submit a contact message containing a crafted JavaScript event-handler attribute. The message is stored and later rendered without proper output encoding in the administration panel. When an administrator opens the malicious message, the injected JavaScript executes in the context of the administration panel's origin.
Technical cause
The vulnerability arises from a parsing flaw in NukeViet\Core\Request::filterTags(), the function responsible for stripping dangerous attributes from submitted input. This function tokenizes HTML attributes using only ASCII spaces as separators. An attacker can prefix an event-handler attribute (such as onerror) with a forward slash. The filter then reads the attribute as "/onerror" and fails to recognize it as matching its denylist for attributes starting with "on". Browsers, however, treat the slash as a valid attribute separator and still parse and execute the onerror handler normally. Combined with the absence of a Content Security Policy in the administration panel and the lack of output encoding when rendering stored messages, this allows the injected script to run in the administrator's browser.
Why it matters
Because the vulnerability can be triggered by an unauthenticated visitor simply submitting a contact form message, no account or prior access to the site is required to plant the payload. The script executes with the privileges of the administration panel's origin when an administrator views the stored message, which could allow actions performed in the context of that administrative session.
Who is affected
Any website running NukeViet CMS (package nukeviet/nukeviet) in the affected version range is exposed, since the Contact module is a commonly enabled feature and the submission path requires no authentication.
Affected versions
Versions of nukeviet/nukeviet from 3.0.0 up to (not including) 4.6.01 are affected.
Fixes and mitigation
This issue is fixed in version 4.6.01 of nukeviet/nukeviet. Site owners should update to this version to remediate the vulnerability.
Recommended action
Update NukeViet CMS to version 4.6.01 as soon as possible. Until the update is applied, consider reviewing stored contact messages for suspicious HTML attributes before opening them in the administration panel.
PatchBriefing score
9.3 / 10 · Critical
Official CVSS: 9.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
EPSS 0.0082 (58 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- nukeviet/nukeviet >=3.0.0,<4.6.01
- vulnerable
- nukeviet/nukeviet >= 3.0.0, < 4.6.01
- vulnerable
- nukeviet/nukeviet ≥ 3.0.0 < 4.6.01
- vulnerable
- nukeviet/nukeviet
- vulnerable
- ≥ 4.6.01
- patched
Reported fixes
This issue is fixed in version 4.6.01 of nukeviet/nukeviet. Site owners should update to this version to remediate the vulnerability.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
-
Packagist Security Advisories registry
-
GitHub Advisory Database database
Revision history
- Published
- Generated
- Published
- Early Warning