NukeViet: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
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.5.09 | 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-49259 (opens in a new tab) |
| GHSA | GHSA-w2w5-w2pw-r929 (opens in a new tab) |
| Weakness | CWE-79 |
What the advisory says
Summary
A stored cross-site scripting (XSS) vulnerability exists in NukeViet CMS versions 4.x through 4.5.08. A low-privileged authenticated user can store a JavaScript payload in their profile's display name fields. The payload executes in the browser of any visitor — including administrators — who clicks the Reply ("Answer") link on a comment posted by that user.
Affected Component
The {COMMENT.postname} template variable is interpolated without JavaScript-context escaping into an inline onclick handler in both comment block positions:
- themes/default/modules/comment/comment.tpl line 27 (top-level comments) - themes/default/modules/comment/comment.tpl line 64 (nested/reply comments)
Source: GHSA-w2w5-w2pw-r929 (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: 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)
- NukeViet: Multiple Anti-XSS Filter Bypasses Leading to Stored XSS in News Module (high, 13 July 2026)