Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit entity-encoded payload via contact form
-
DeliveryBypass filterTags marker check
-
ExploitStore forged iframe srcdoc markup
-
ExecutionAdmin opens message in panel
-
PersistMarkers rendered as live HTML
-
ImpactExecute JavaScript in admin origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that 'iframe' remain in NukeViet's allowed HTML tags list (NV_ALLOWED_HTML_TAGS), which is TRUE in the default configuration, and that the content be ingested through an editor-backed get_editor() field - the contact form (available to guests), comments when the editor is enabled for comments, or member-submitted news articles. The srcdoc iframe must be unsandboxed (the default), so it shares the parent/admin origin. The highest-impact path depends on an administrator opening a stored contact message (the UI:R requirement). Exploitation is blocked by the documented workarounds: removing iframe from the allowed tags list, disabling the editor for comments, or applying the patch. Session cookies are HttpOnly so they cannot be read directly, but the default CSP permits 'unsafe-inline' and does not stop script execution. |
| Impact | The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N, base 8.2) is internally coherent with the evidence: the GHSA advisory confirms a guest-reachable contact form (PR:N / unauthenticated) delivers a stored payload that executes in the administration origin (scope change S:C) when an administrator opens the message (UI:R). This is a genuine stored XSS with a privilege-crossing twist - a guest can run JavaScript in the admin origin - which raises it above a routine self-XSS. However, several higher-urgency signals are absent: there is no CISA KEV listing in the input (no confirmed active exploitation), no EPSS score was provided, and the vuln.today decision label is 'this_week' rather than act_now/emergency, so the priority is near-term patching, not an incident. The GHSA advisory publishes a concrete example payload, meaning the exploitation technique is fully documented publicly even though the input contains no 'POC: Publicly available (confirmed)' field. Mitigating factors that temper real-world risk: session cookies are HttpOnly (no direct cookie theft), exploitation of the highest-value path requires an administrator to actually view the malicious contact message (UI:R), and NukeViet's real-world footprint is regionally concentrated. Net: a real, prioritizable issue for NukeViet operators in the vulnerable range, but not a mass-exploitation emergency on the available data. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a NukeViet contact-form message whose body encodes square brackets as HTML entities to smuggle the sanitizer's internal markers (e.g. srcdoc="{@[img src=x onerror=alert(document.domain)]@}" inside an iframe). When an administrator later opens the stored message in the admin panel, the forged markers are converted to live <img> markup inside an unsandboxed srcdoc iframe that shares the admin origin, and the onerror JavaScript runs with the administrator's session. The GHSA advisory publishes a working example payload, so the technique is publicly documented even though no packaged exploit tool is confirmed in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that later executes in an administrator's session: a payload submitted through the guest-accessible contact form, a comment when the editor is enabled, or a member article is stored as an iframe srcdoc value carrying forged internal sanitizer markers, and it runs with the admin panel's origin once an administrator opens the message or a visitor views the content. The vendor shipped fixes in 4.5.12 and 4.6.02, and the GitHub advisory plus patch commits are public; no public exploit code has been identified at time of analysis. Exploitation requires that iframe remain in the allowed HTML tags list (NV_ALLOWED_HTML_TAGS), which is the default configuration, and the highest-impact path additionally requires an administrator to open the stored contact message.
RemediationAI
Vendor-released patch: upgrade to NukeViet 4.6.02 or 4.5.12; both branches contain the fix and upgrading is the only complete remedy because the vendor notes the interim steps below only block new payloads while previously stored content stays in the database. If upgrading cannot happen immediately, the vendor's documented workarounds are: remove iframe from the allowed HTML tags list under Admin > Configuration > Setup security > HTML code approved in the system (trade-off: legitimate embedded iframes in user content stop rendering), disable the editor for comments in the comment module settings (trade-off: commenters lose rich-text editing), and apply the changes from fix commit 81a021a6557477efe5a4c713e21b883d138002e6 to vendor/vinades/nukeviet/Core/Request.php (trade-off: manual backport must be re-applied on every update). In all cases, search stored comments, contact messages and articles for srcdoc and remove suspicious entries, since payloads stored before the change remain effective. Advisory and release notes: https://github.com/nukeviet/nukeviet/security/advisories/GHSA-p7cw-whjw-crcm and https://github.com/nukeviet/nukeviet/releases/tag/4.6.02.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79 in the HTML sanitizer of NukeViet\Core\Request. filterTags() rebuilds allowed markup using internal placeholder markers ({@[ / ]@}, [@{ / }@]) and converts them back to the literal characters <, > and " at the end of processing, and the input was never checked for those markers. filterAttr() recursively re-filters attribute content that contains HTML, which is exactly the case for an iframe srcdoc value; that decoded value passes through filterTags() a second time. Because [, [ and [ are decoded to [ and ] before the recursive call, an attacker can synthesize the internal markers from entity-encoded brackets, or join one sanitizer-generated marker with attacker-controlled characters, and the forged marker then bypasses tag and attribute filtering entirely and is emitted as real markup. A marker formed by joining also leaves a generated tag unclosed, so following text is absorbed as attributes (for example onerror on an injected img). An srcdoc iframe without the sandbox attribute inherits the parent origin, so the resulting script reads the page and issues requests with the viewer's session; session cookies are HttpOnly and cannot be read directly, and the default Content-Security-Policy permits 'unsafe-inline', so it does not stop this execution. The assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N reflects a network-reachable, unauthenticated (PR:N) submit path, a scope change because the script runs in the administration origin rather than the submitter's own context, and the user-interaction requirement of an administrator opening the stored message. The 4.6.02 fix encodes every [ and ] in the input before processing so markers can no longer be forged or joined, and additionally restricts HTML inside srcdoc to the configured allowed tag list via strip_tags.
Know when Nukeviet gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Guest-submittable via contact form (PR:N), trivially triggered (AC:L), but needs an admin to view the message (UI:R); executes in admin origin so S:C with C:H and limited integrity I:L, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-79 (improper neutralization of input during web page generation), specifically a sanitizer marker-forging flaw in NukeViet\Core\Request::filterTags() and filterAttr() (shipped in vendor/vinades/n…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity stored cross-site scripting flaw in NukeViet CMS (versions 4.5.08 to 4.6.01) enables unauthenticated attackers to inject malicious JavaScript that executes within an administrator's session, potentially leading to full site compromise. Leadership should prioritize remediation due to the risk of administrative account takeover, data theft, and reputational damage.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before have a Deserialization vulnerability which results in co
clearsystem.php in NukeViet 4.4 allows CSRF with resultant HTML injection via the deltype parameter to the admin/index.p
modules\users\admin\edit.php in NukeViet 4.4 allows CSRF to change a user's password via an admin/index.php?nv=users&op=
modules\users\admin\add_user.php in NukeViet 4.4 allows CSRF to add a user account via the admin/index.php?nv=users&op=u
nukeviet v.4.5 and before and nukeviet-egov v.1.2.02 and before are vulnerable to arbitrary code execution via the /admi
There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02. Rated medium severity (CVSS 5.
Stored cross-site scripting (XSS) in NukeViet CMS affects versions through 4.5.11 and through 4.6.01: an SVG file whose
Stored cross-site scripting in NukeViet CMS (3.x line through 4.6.00, fixed in 4.6.01) lets an unauthenticated visitor p
Unauthenticated stored cross-site scripting in the Contact module of NukeViet CMS before 4.6.01 lets any anonymous visit
Remote code execution in NukeViet CMS 4.5.x through 4.5.11 and 4.6.x through 4.6.01 is reachable by an attacker who can
PHP object injection leading to remote code execution in NukeViet CMS 4.x extension-store handlers, fixed in 4.6.00. Bec
Pre-authentication server-side request forgery in NukeViet CMS 4.6.00 lets remote unauthenticated attackers make the ser
EUVD-2026-131753
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB