Packagist
CVE-2026-94598
NukeViet CMS: Stored XSS via internal marker injection in iframe srcdoc sanitization
- Severity
- High 8.2
- Published
- 30 Nov 2026
- Last changed
- 30 Nov 2026
- Added to UpHeron
- 30 Nov 2026
- Fixed in
- 4.5.12
- Exploit chance
- 0.6% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 30 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N- Also known as
- GHSA-p7cw-whjw-crcm
- Sources
- OSV.dev and GitHub
Description
A stored cross-site scripting (XSS) vulnerability exists in the HTML sanitizer of NukeViet\Core\Request (filterTags() and filterAttr()).
When an attribute contains HTML content (the srcdoc attribute of ), the sanitizer decodes its value and filters it again with filterTags(). Internally, filterTags() rebuilds allowed tags with placeholder markers ({@[, ]@}, [@{, }@]) and converts them back to <, > and "` at the end. The input was never checked for these markers.
The characters [ and ] can be sent as HTML entities (for example [, [ or [), and they are decoded before the recursive call.
An attacker can therefore place markers inside a srcdoc value. These markers skip all tag and attribute filtering and are turned into real HTML tags.
A marker can also be formed by joining a marker generated by the sanitizer with attacker-controlled characters. In that case a generated tag is left unclosed, and the text that follows becomes attributes of that tag.
Example input:
Workarounds
If upgrading is not possible right away:
- Remove iframe from the allowed HTML tags list in Admin > Configuration > Setup security > HTML code was approved in the system.
- Disable the editor for comments in the comment module settings.
- Apply the changes from the patch commit to vendor/vinades/nukeviet/Core/Request.php.
These steps only block new payloads. Content that was stored before remains in the database. Search stored content (comments, contact messages, articles) for srcdoc and remove any suspicious entries.
Affected software
| Software | Affected versions |
|---|---|
nukeviet/nukevietPackagist · osv:Packagist:nukeviet/nukeviet |
|
About nukeviet/nukeviet
- Monthly downloads (Packagist)
- 9Packagist, 30 Nov 2026
- Total downloads (Packagist)
- 45Packagist, 30 Nov 2026
Vulnerabilities in nukeviet/nukeviet
- In our list
- 11
- Published in the last 12 months
- 11
- Critical, last 12 months
- 2
- High, last 12 months
- 6
- Known exploited
- 0
- CVE-2026-94599NukeViet CMS: Reflected XSS in news module search via double URL decoding of the q parameterMedium 6.1 30 Nov 2026
- CVE-2026-94597NukeViet CMS: Remote Code Execution via image-upload bypass chain (PHP short-tag detection bypass + double-extension filename)High 7.5 30 Nov 2026
- CVE-2026-94567NukeViet CMS: Stored XSS via internal DTD entities in SVG uploadsCritical 9.3 30 Nov 2026
- CVE-2026-94564NukeViet CMS: Unauthenticated Stored XSS in the Contact Module via HTML Sanitizer BypassHigh 8.2 30 Nov 2026
- CVE-2026-94565NukeViet CMS: Unauthenticated Stored XSS in the Contact ModuleCritical 9.3 30 Nov 2026
- CVE-2026-94562NukeViet CMS: Remote Code Execution via unrestricted custom field validation callback in the `users` moduleHigh 7.2 30 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-94598
- GitHub Advisory Database https://github.com/advisories/GHSA-p7cw-whjw-crcm