# NukeViet: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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-w2w5-w2pw-r929 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.7) |
| Published | 2026-07-13 |
| Updated | 2026-07-13 |
| CVE | [CVE-2026-49259](https://nvd.nist.gov/vuln/detail/CVE-2026-49259) |
| GHSA | [GHSA-w2w5-w2pw-r929](https://github.com/advisories/GHSA-w2w5-w2pw-r929) |
| Weakness | CWE-79 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| nukeviet/nukeviet | < 4.5.09 | 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

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)



## Links

- [GHSA-w2w5-w2pw-r929 on GitHub](https://github.com/advisories/GHSA-w2w5-w2pw-r929)
- [CVE-2026-49259 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-49259)
- [All Composer security advisories](https://buzzphp.com/security)
