# NukeViet: Multiple Anti-XSS Filter Bypasses Leading to Stored XSS in News Module

High severity, published 2026-07-13. Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.

Canonical URL: https://buzzphp.com/security/ghsa-465g-4q99-5x86 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.7) |
| Published | 2026-07-13 |
| Updated | 2026-07-13 |
| CVE | [CVE-2026-54064](https://nvd.nist.gov/vuln/detail/CVE-2026-54064) |
| GHSA | [GHSA-465g-4q99-5x86](https://github.com/advisories/GHSA-465g-4q99-5x86) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| nukeviet/nukeviet | < 4.6.00 | 4.6.00 |

## What to do

Update nukeviet/nukeviet to 4.6.00 or later: composer update nukeviet/nukeviet.

Check which version you run with `composer show nukeviet/nukeviet`, and every affected package with `composer audit`.

## About this advisory

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/.

## Links

- [GHSA-465g-4q99-5x86 on GitHub](https://github.com/advisories/GHSA-465g-4q99-5x86)
- [CVE-2026-54064 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-54064)
- [All Composer security advisories](https://buzzphp.com/security)
