BuzzPHP
LightDarkSystem

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?

PackageAffected versionsFixed in
nukeviet/nukeviet (opens in a new tab)< 4.6.004.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 audit

Advisory details

SeverityHighCVSS 8.7
Published
Updated
CVECVE-2026-54064 (opens in a new tab)
GHSAGHSA-465g-4q99-5x86 (opens in a new tab)
WeaknessCWE-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

All Composer security advisories