NukeViet: Multiple Anti-XSS Filter Bypasses Leading to Stored XSS in News Module
High severity. Published 13 July 2026. Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| nukeviet/nukeviet (opens in a new tab) | < 4.6.00 | 4.6.00 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show nukeviet/nukeviet
composer auditAdvisory details
| Severity | HighCVSS 8.7 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-54064 (opens in a new tab) |
| GHSA | GHSA-465g-4q99-5x86 (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
Summary
Two filter-bypass techniques in NukeViet\Core\Request::filterAttr() and NukeViet\Core\Request::unhtmlentities() allow a low-privileged user (any account with news post permission) to store and serve arbitrary JavaScript to any visitor of the affected page.
Affected Component
vendor/vinades/nukeviet/Core/Request.php — class NukeViet\Core\Request
Vulnerability Details
Bypass 1 — Form Feed character prefix (\x0C) before event handler name
The filterAttr() method blocks event-handler attributes using:
PHP's trim() does not strip the ASCII Form Feed character (\x0C, U+000C). An attacker can prefix the attribute name with \x0C so that \x0Conerror does not match /^on/.
Source: GHSA-465g-4q99-5x86 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- NukeViet: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (high, 13 July 2026)
- NukeViet: Unauthenticated Reflected XSS in Comment Module (high, 13 July 2026)
- NukeViet: Path Traversal to Arbitrary File Deletion in Edit Comment Function (high, 13 July 2026)
- NukeViet: Pre-authentication SSRF via X-Forwarded-Host (high, 13 July 2026)