Stored XSS in NukeViet CMS via iframe srcdoc sanitizer bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
NukeViet CMS from 4.5.08 before 4.5.12 and from 4.6.00 before 4.6.02 is affected. Forged sanitizer markers in an iframe srcdoc value survive recursive filtering and are turned into markup without tag or attribute filtering (CWE-79). An attacker can store such content in Contact messages, comments or submitted articles, so JavaScript runs with the session of a user who views it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
NukeViet CMS is a multi Content Management System. From 4.5.08 until 4.5.12 and 4.6.02, an attacker can place NukeViet's internal {@[, ]@}, [@{, and }@] sanitizer markers in an iframe srcdoc value by encoding square brackets as HTML entities. Recursive NukeViet\Core\Request::filterTags() processing decodes the characters, accepts the forged marker, and later converts it to real markup without normal tag or attribute filtering. Because an unsandboxed srcdoc iframe shares the parent origin and iframe is enabled by default through NV_ALLOWED_HTML_TAGS, stored Contact messages, comments with the editor enabled, or submitted articles can execute JavaScript with the viewer's session. This issue is fixed in versions 4.5.12 and 4.6.02.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nukeviet | nukeviet | 4.5.08 to before 4.5.12; 4.6.00 to before 4.6.02 | 4.5.12, 4.6.02 | Patch available | CNA |
| — | nukeviet/nukeviet (Packagist) | 4.5.08 to before 4.5.12 | 4.5.12 | Patch available | GHSA-p7cw-whjw-crcm |
| — | nukeviet/nukeviet (Packagist) | 4.6.00 and later | — | No fix listed | GHSA-p7cw-whjw-crcm |
- nukeviet Vendornukeviet Affected 4.5.08 to before 4.5.12; 4.6.00 to before 4.6.02 Fixed in 4.5.12, 4.6.02 Patch available CNA
- nukeviet/nukeviet (Packagist) Vendor— Affected 4.5.08 to before 4.5.12 Fixed in 4.5.12 Patch available GHSA-p7cw-whjw-crcm
- nukeviet/nukeviet (Packagist) Vendor— Affected 4.6.00 and later Fixed in — No fix listed GHSA-p7cw-whjw-crcm
Remediation
Upgrade to 4.5.12 if the installed version is in the 4.5.08 to 4.5.12 range, or to 4.6.02 if it is in the 4.6.00 to 4.6.02 range. The Packagist package nukeviet/nukeviet from 4.6.00 has no fixed version listed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA nukeviet (nukeviet) Fixed in 4.5.12, 4.6.02
- Fix · GHSA-p7cw-whjw-crcm nukeviet/nukeviet (Packagist) Fixed in 4.5.12 Advisory →
Timeline
- 2026-11-20 Threatist record created from CVE-2026-94598
- 2026-11-24 EPSS moved to the below the 50th percentile
- 2026-11-30 Alias added: GHSA-p7cw-whjw-crcm
- 2026-11-30 Fix available: Packagist/nukeviet/[email protected] · GHSA-p7cw-whjw-crcm
- 2026-11-30 CVSS score added · GHSA-p7cw-whjw-crcm
- 2026-11-30 Weakness changed · GHSA-p7cw-whjw-crcm
- 2026-11-30 8 new references · GHSA-p7cw-whjw-crcm
References
Other 7
- https://github.com/nukeviet/nukeviet/security/advisories/GHSA-p7cw-whjw-crcm
- https://github.com/nukeviet/nukeviet/commit/13d83ff45072730d10de89195da2154c896d6968
- https://github.com/nukeviet/nukeviet/commit/81a021a6557477efe5a4c713e21b883d138002e6
- https://github.com/nukeviet/nukeviet/blob/4.5.13/CHANGELOG.txt
- https://github.com/nukeviet/nukeviet/releases/tag/4.6.02
- https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-02-858.html
- https://github.com/nukeviet/nukeviet
More nukeviet vulnerabilities
- TI-2026-96011 Stored cross-site scripting in NukeViet CMS via SVG uploads CVSS 3.1CRITICAL 9.3
- TI-2026-95999 NukeViet CMS: Unauthenticated Stored XSS in the Contact module CVSS 3.1CRITICAL 9.3
- TI-2024-24299 nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization… CVSS 3.1HIGH 8.8
- TI-2026-95995 Server-side request forgery in NukeViet via incomplete X-Forwarded-Host fix CVSS 3.1HIGH 7.2
- TI-2026-95998 Stored XSS in NukeViet CMS Contact module via HTML sanitizer bypass CVSS 3.1HIGH 8.2
- TI-2026-95986 Reflected cross-site scripting in NukeViet CMS comment module CVSS 3.1HIGH 8.2
Sources
- CVE-2026-94598 · CVE Program
- CVE-2026-94598 · NVD
- FIRST EPSS
- GHSA-p7cw-whjw-crcm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences