Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft multiply-encoded q search payload
-
DeliveryDeliver crafted search URL to victim
-
ExploitVictim opens link, keyword decoded twice
-
ExecutionAttribute breakout fires onfocus JavaScript
-
ImpactPerform same-origin admin actions via CSRF tokens
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 the news module to be enabled (the advisory states any site with the news module enabled is affected; it is a core, commonly-enabled module) on an affected version (>= 4.5.00, <= 4.6.01) using the default or mobile_default themes. Exploitation is unauthenticated to craft and deliver the link (PR:N), but it is LIMITED by requiring the victim to open the attacker-supplied search URL (UI:R) - though the autofocus/onfocus payload then fires without further clicks. The default Content Security Policy allows 'unsafe-inline' and therefore does NOT mitigate the attack; HttpOnly cookies limit direct session theft but not same-origin actions. Highest impact occurs only when the victim who opens the link is a logged-in administrator. |
| Impact | This is a reflected XSS (CWE-79) enabled by double URL decoding (CWE-174) in the NukeViet news-module search. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, base 6.1 Medium) indicates a network-reachable, low-complexity, unauthenticated flaw whose execution nonetheless depends on a victim opening a crafted link (UI:R), with a scope change (S:C) reflecting that injected script runs in the victim's browser/origin and only low confidentiality and integrity impact. The vuln.today decision label is 'this_month' - not act_now or emergency - which is consistent with a reflected (not stored) XSS requiring user interaction. No EPSS score is supplied, there is no CISA KEV listing, and no independent exploitation reports; however the GHSA advisory includes a concrete working payload, so this is not a purely theoretical issue. Signals are internally consistent rather than conflicting: a genuine, easily-triggered client-side flaw of moderate severity that warrants scheduled patching rather than emergency response, with the main risk being targeted links sent to logged-in administrators. Note the impact ceiling: HttpOnly cookies cannot be stolen directly, but the advisory states same-origin actions (reading CSRF tokens, submitting forms, driving the admin panel) are possible, which is why I retain I:L rather than treating this as cosmetic. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a NukeViet news search URL whose q parameter is multiply URL-encoded (e.g. ...q=%252522%252520autofocus%252520onfocus%25253D...alert(document.domain)) and sends it to a target, ideally a logged-in administrator. Because get_title() sanitizes once but search.php then calls urldecode() again, the payload is decoded into live HTML and breaks out of the value="{KEY}" attribute; the autofocus/onfocus construct fires the script on page load when the victim opens the link. A public PoC reference exists in the GHSA advisory; it is not verified as working exploit code, and no active exploitation has been reported. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Reflected cross-site scripting in the NukeViet CMS news-module search lets an unauthenticated attacker execute same-origin JavaScript in a victim's browser by sending a crafted search URL. NukeViet CMS from 4.5.00 through 4.6.01 is affected whenever the core news module is enabled and the default or mobile_default theme is in use, because the search keyword is URL-decoded a second time after sanitization, allowing a value to break out of the search input's value attribute or inject tags into the no-results message. Exploitation requires the victim to open the attacker-supplied link (CVSS UI:R), though the documented payload uses autofocus/onfocus so no further interaction is needed, and the default Content Security Policy allows 'unsafe-inline' so it provides no mitigation; a public PoC reference exists (documented in the GitHub advisory) but it is not verified as working exploit code, and there is no CISA KEV listing. Impact is highest when the victim is a logged-in administrator, since the script can read CSRF tokens and drive admin-panel actions, while HttpOnly session cookies prevent direct cookie theft.
RemediationAI
Vendor-released patch: upgrade to NukeViet CMS 4.6.02 (or 4.5.13 on the 4.5 branch), per the release page https://github.com/nukeviet/nukeviet/releases/tag/4.6.02 and advisory GHSA-3q6c-wfxw-7hj6. The upstream fix is in commit de6b594b2bed0b6976293eec3815230e1f3ffe63, with the changelog recorded in commit 3bfe2c541edf76dee309ffcdae7b1ecb91bf3467. If upgrading immediately is not possible, the vendor documents a manual backport in modules/news/funcs/search.php: replace the get_title() plus str_replace() plus urldecode() block with a single length-limited call, $key = nv_substr($nv_Request->get_title('q', 'get', ''), 0, NV_MAX_SEARCH_LENGTH);, and replace every use of $dbkeyhtml/$_dbkeyhtml with $dbkey/$_dbkey in the same file; this keeps the already-escaped keyword for both SQL escaping (dblikeescape) and template output, but it is an invasive edit that must be re-applied after any subsequent core update. As a temporary stop-gap the advisory suggests a WAF rule that rejects requests to the news search page whose q parameter contains %25 (an encoded percent sign), which blocks the multi-encoded payloads at the cost of also rejecting legitimate searches that contain a literal percent character; the vendor notes that updating remains the complete fix.
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
NukeViet is a PHP content management system, and this flaw sits in the search handler of its core news module (modules/news/funcs/search.php). The q parameter is first read through the framework's $nv_Request->get_title() wrapper, which strips quotes and angle brackets and, while doing so, resolves %XX sequences once - so an input such as %2522 passes the filter as the literal text %22. The handler then applied urldecode() to that already-sanitized value, converting %22 back into a real double quote after all filtering had run; this is the double-decoding pattern tracked as CWE-174, which produces the classic CWE-79 reflected XSS. The raw keyword was handed to search_theme() and search_result_theme() and printed unescaped into the value="{KEY}" attribute of the search input (attribute breakout) and into the <strong>{KEY}</strong> element of the no-results message (full tag injection), in both the default and mobile_default themes. The extra urldecode() call was introduced in commit 76ee0a8b9 (April 2021). CPE cpe:2.3:a:nukeviet:nukeviet is broad, but the advisory bounds vulnerable releases to >= 4.5.00 and <= 4.6.01. The fix removes the redundant urldecode() and the ad hoc character filtering, uses the already decoded and HTML-escaped output of get_title() directly, and replaces the $dbkeyhtml/$_dbkeyhtml variables with $dbkey/$_dbkey in the query-building paths; keyword length remains capped by NV_MAX_SEARCH_LENGTH.
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:L/I:L/A:N
Unauthenticated attacker crafts a network-delivered link (AV:N/AC:L/PR:N) that only executes when a victim opens it (UI:R); injected script runs in the browser origin (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
NukeViet CMS is a multi Content Management System. From 4.5.00 until 4.5.13 and 4.6.02, an unauthenticated attacker can place a multiply encoded value in the news module search q parameter. $nv_Request->get_title() decodes and sanitizes the input once, but modules/news/funcs/search.php subsequently applies urldecode() after sanitization. The resulting raw keyword reaches the {KEY} search-input attribute through search_theme() and the no-results element through search_result_theme() in the default and mobile themes, permitting attribute or tag injection and same-origin JavaScript execution when a victim opens the crafted search URL. This issue is fixed in versions 4.5.13 and 4.6.02.
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
Stored cross-site scripting in NukeViet CMS 4.5.08 through 4.6.01 lets an unauthenticated visitor plant JavaScript that
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
EUVD-2026-131739
NVD
CVE.org
EPSS
GitHub
Exploit-DB