Junglewise Threat Intelligence

CVE-2026-49259: NukeViet CMS stored XSS in comment reply component

CVE-2026-49259 · Severity: high · CVSS 8.7 · Published 2026-07-13

Technologies: NukeViet CMS, nukeviet/nukeviet (Packagist). Vendors: NukeViet, Packagist.

Executive brief

A security vulnerability in NukeViet CMS allows users to inject malicious scripts into their profile names. When other users or administrators interact with comments made by the attacker, these scripts execute in their browser. This can lead to unauthorized administrative actions, theft of sensitive information, or account takeover.

Technical details

A stored cross-site scripting (XSS) vulnerability exists in NukeViet CMS versions 4.x through 4.5.08 due to improper output encoding of the {COMMENT.post_name} template variable. While the system uses HTML entity encoding for profile fields, it fails to apply JavaScript-context escaping when these fields are interpolated into inline 'onclick' handlers in 'themes/default/modules/comment/comment.tpl'. An attacker can provide a crafted display name that breaks out of the JavaScript string literal after the browser decodes the HTML entities. This allows for arbitrary script execution when a victim clicks the 'Reply' link on the attacker's comment. The vulnerability is patched in version 4.6.00.

Affected products

  • NukeViet NukeViet CMS 4.x through 4.5.08

Timeline

  • 2026-07-13: advisory: GHSA-w2w5-w2pw-r929 published
  • 2026-07-13: disclosed
  • 2026-07-13: patched: Fix released in version 4.6.00

References

Related threats