Packagist
CVE-2026-94564
NukeViet CMS: Unauthenticated Stored XSS in the Contact Module via HTML Sanitizer Bypass
- Severity
- High 8.2
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 4.6.01
- Exploit chance
- 0.6% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 30 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N- Also known as
- GHSA-7pv3-g7fw-7xhq
- Sources
- OSV.dev and GitHub
Description
An unauthenticated stored Cross-Site Scripting (XSS) vulnerability exists in the Contact module of NukeViet CMS. An anonymous visitor can submit crafted HTML through the message content (fcon) field. The payload survives the server-side HTML sanitizer and is later rendered in the administration panel when an administrator (or the staff member responsible for Contact) opens the message, causing arbitrary JavaScript to execute in the admin origin.
The root cause is in the HTML sanitizer unhtmlentities() / filterAttr() inside vendor/vinades/nukeviet/Core/Request.php.
The sanitizer decodes numeric HTML entities before checking attribute values for dangerous URL schemes such as javascript:. The decoding regular expression only tolerated a fixed number of leading zeros:
Because 0{0,8} matches at most 8 leading zeros, an entity with 9 or more leading zeros is not decoded:
Workarounds
_Is there a way for users to fix or remediate the vulnerability without upgrading?_
Until the patch is applied, one or more of the following reduce exposure:
- Remove iframe (and, if not required, object / embed) from the allowed HTML tags in Admin → Settings so URL-bearing rich-HTML tags cannot be submitted through public forms.
- Apply the sanitizer changes described above directly to vendor/vinades/nukeviet/Core/Request.php.
- Configure a strict Content-Security-Policy for the administration area (for example, a script-src without 'unsafe-inline') as a defense-in-depth layer.
Affected software
| Software | Affected versions |
|---|---|
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet |
|
About nukeviet/nukeviet
- Monthly downloads (Packagist)
- 9Packagist, 30 Nov 2026
- Total downloads (Packagist)
- 45Packagist, 30 Nov 2026
Vulnerabilities in nukeviet/nukeviet
- In our list
- 11
- Published in the last 12 months
- 11
- Critical, last 12 months
- 2
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-94599NukeViet CMS: Reflected XSS in news module search via double URL decoding of the q parameterMedium 6.1 30 Nov 2026
- CVE-2026-94598NukeViet CMS: Stored XSS via internal marker injection in iframe srcdoc sanitizationHigh 8.2 30 Nov 2026
- CVE-2026-94597NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)High 7.5 30 Nov 2026
- CVE-2026-94567NukeViet CMS: Stored XSS via internal DTD entities in SVG uploadsCritical 9.3 30 Nov 2026
- CVE-2026-94565NukeViet CMS: Unauthenticated Stored XSS in the Contact ModuleCritical 9.3 30 Nov 2026
- CVE-2026-94562NukeViet CMS: Remote Code Execution via unrestricted custom field validation callback in the `users` moduleHigh 7.2 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-94564
- GitHub Advisory Database https://github.com/advisories/GHSA-7pv3-g7fw-7xhq