Skip to main content

NukeViet CMS CVE-2026-48118

| EUVDEUVD-2026-131725 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-13 https://github.com/nukeviet/nukeviet GHSA-mxpf-qgg6-v3ff
8.2
CVSS 3.1 · Vendor: https://github.com/nukeviet/nukeviet
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Read static checkss from public page source
  2. Delivery
    Base64-encode phishing/JS payload
  3. Exploit
    Craft comment_load URL with status_comment
  4. Execution
    Deliver link to victim
  5. Persist
    Victim opens URL, payload renders unescaped
  6. Impact
    Capture credentials or issue authenticated requests

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

Exploitation requires the target NukeViet site to expose a comment block (default on content modules such as news/page), from which the attacker reads the static, session-independent checkss token out of the public HTML, and requires the victim to open the attacker-crafted comment_load URL containing the base64-encoded payload in status_comment. No authentication is needed at any step (PR:N confirmed by the CVSS vector). The primary limiting factor is user interaction (UI:R): the victim must click the crafted link, so the attack depends on social engineering and is not fully automatable; it also only works on versions before 4.5.09, where checkss is derived from NV_CACHE_PREFIX rather than the per-session NV_CHECK_SESSION.

Impact

The supplied CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N (8.2 High) is internally consistent: remote, no authentication, and low complexity because the required checkss token is readable from public page source, offset only by required user interaction (the victim must open the crafted URL). No EPSS score, CISA KEV listing, or SSVC decision data was provided, so exploitation probability cannot be quantified from the inputs; absence of a KEV entry means there is no confirmed active exploitation. The advisory confirms a working proof-of-concept (credential capture to an attacker-controlled server) and notes NukeViet's CSP uses script-src 'unsafe-inline' and does not restrict navigation, so the policy does not mitigate the flaw. Net assessment: a genuine, credibly demonstrated client-side attack, but as a reflected XSS it requires social-engineering the victim into clicking a link, which limits mass automation compared with a server-side RCE. This is a real priority for NukeViet operators, but the risk is targeted/social-engineering-dependent rather than wormable.

Exploit ScenarioDerived

An attacker opens any public article, reads the static checkss value from the page's data-checkss attribute, then base64-encodes a credential-phishing overlay and appends it as status_comment on a comment_load URL for that article. The attacker delivers the link (phishing email, chat, forum post) to a victim; when the victim opens it, the overlay renders within the site's origin and can capture credentials or issue authenticated requests. A functional proof-of-concept transmitting captured plaintext credentials to an attacker server is documented in the advisory; the AV:N/AC:L attack only requires the victim's click (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Reflected cross-site scripting in the Comment module of NukeViet CMS (versions before 4.5.09) lets remote unauthenticated attackers execute arbitrary JavaScript in a victim's browser via a crafted URL. The status_comment parameter carries base64-encoded HTML that is decoded server-side and rendered unescaped, while a second flaw makes the checkss anti-forgery token static and site-wide, removing the only barrier to URL-based delivery. No public exploit identified at time of analysis, though the advisory documents a confirmed proof-of-concept credential-phishing overlay.

RemediationAI

Upgrade to NukeViet 4.6.00, which addresses both root causes (Vendor-released patch: 4.6.00, per advisory GHSA-mxpf-qgg6-v3ff). The vendor fix binds the checkss token to the session by replacing NV_CACHE_PREFIX with NV_CHECK_SESSION everywhere the comment checkss is generated or validated (in the comment module and in caller modules), which alone removes the URL-delivery mechanism, and as defense-in-depth applies nv_htmlspecialchars() to the output of nv_base64_decode($status_comment) before template assignment, closing the XSS sink regardless of code path. If immediate upgrade is impossible, operators can backport the same two changes in modules/comment (escape the decoded status_comment before rendering and re-derive checkss from NV_CHECK_SESSION); as an interim compensating control, block or filter requests to the comment-load endpoint (index.php?nv=comment&comment_load=1) that carry a status_comment parameter at a WAF or reverse proxy, accepting that this may break legitimate comment-status display. Do not rely on the existing CSP, since it permits script-src 'unsafe-inline'.

Affected VersionsENISA

NukeViet < 4.5.09

Affected Packages

composer nukeviet/nukeviet fix: 4.6.00
euvd nukeviet fix: 4.5.09

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NukeViet is an open-source PHP CMS (distributed as the Composer package nukeviet/nukeviet). The root cause is CWE-79: the status_comment GET/POST value is sanitized with get_title()/strip_tags() while still base64-encoded, so its restricted character set passes the filter untouched; it is then decoded with nv_base64_decode() and assigned to the STATUS_COMMENT template variable that themes/*/modules/comment/comment.tpl renders raw inside a <div>. The filter-before-decode ordering means the sanitizer never inspects the actual payload. A contributing weakness (CWE-565) is that the checkss token was computed as md5(module+area+id+allowed+NV_CACHE_PREFIX); because NV_CACHE_PREFIX is a static install-time constant identical for every visitor, the token is reusable across all sessions and is exposed in each page's data-checkss attribute. The correct pattern used elsewhere in the codebase (modules/contact, modules/banners) derives tokens from NV_CHECK_SESSION = md5(NV_CACHE_PREFIX + session_id), binding them to the current session.

Know when PHP 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

Vendor (https://github.com/nukeviet/nukeviet) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
vuln.today AI 8.2 HIGH

Remote crafted URL (AV:N), token readable from public HTML (AC:L, PR:N), victim must click the link (UI:R), JS crosses into the browser security context (S:C), demonstrated credential capture (C:H) with limited DOM/authenticated-request integrity impact (I:L) and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/nukeviet/nukeviet).

CVSS VectorVendor: https://github.com/nukeviet/nukeviet

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

Reflected XSS in the Comment module via the status_comment URL parameter. The parameter accepts attacker-controlled base64-encoded HTML/JavaScript that is decoded server-side and rendered unescaped into the page. Compounded by a second flaw: the checkss anti-forgery token was derived from a site-wide static value (NV_CACHE_PREFIX) instead of a per-session value, making the token reusable across all users and allowing the attack to be delivered via a simple crafted URL.

Details

Vulnerability 1 - Reflected XSS via status_comment

Affected components:

  • modules/comment/funcs/main.php - parameter ingestion
  • modules/comment/comment.php - decode and template assignment
  • themes/*/modules/comment/comment.tpl - raw render

The status_comment GET/POST parameter is sanitised with get_title(), which applies strip_tags(). Because the parameter is intended to carry a base64-encoded string, its character set ([A-Za-z0-9-_,]) passes through strip_tags() unchanged. The value is later decoded with nv_base64_decode() and assigned to the template variable STATUS_COMMENT without any escaping, which the template then renders raw inside a <div>.

The fundamental flaw is ordering: the filter is applied to the encoded form of the data, before decoding, so it is entirely ineffective against whatever the decoded content contains. Any HTML or JavaScript payload, once base64-encoded, survives the filter and executes in the victim's browser.

Vulnerability 2 - Session-independent checkss token

Affected components:

  • modules/comment/comment.php - token validation in comment-load and comment-module functions
  • modules/comment/funcs/post.php - token validation when posting
  • All caller modules that generate a checkss before invoking the comment system (e.g. modules/news, modules/page)

The checkss token required to load the comment block was computed by hashing the resource parameters together with NV_CACHE_PREFIX:

checkss = md5(module + area + id + allowed + NV_CACHE_PREFIX)

NV_CACHE_PREFIX is a static, site-wide constant - identical for every visitor - derived at install time from the site key and server name. The token therefore has the same value for all users viewing the same article and never changes between sessions.

This token is printed into the public HTML of every page that includes a comment block (as a data-checkss attribute on the comment container). Because the token is not session-bound, an attacker can read it from the page source and reuse it in a crafted URL targeting any other user.

The correct pattern, used consistently elsewhere in the codebase (e.g. modules/contact, modules/banners), is to derive the token from NV_CHECK_SESSION:

NV_CHECK_SESSION = md5(NV_CACHE_PREFIX + session_id)

This binds the token to the current session, so a token obtained by the attacker is invalid for any other user's session.

Attack scenario

  1. Attacker opens any article with a comment block and reads the checkss value from the HTML source.
  2. Attacker constructs a payload (e.g. a credential-phishing overlay) and base64-encodes it.
  3. Attacker delivers the following URL to the victim:
   https://<target>/index.php?language=vi&nv=comment&comment_load=1
     &module=news&area=<area>&id=<id>&allowed=<allowed>
     &checkss=<value_from_step_1>
     &status_comment=<base64_payload>
  1. When the victim opens the URL, the decoded payload renders in their browser within the site's origin, with access to cookies, session storage, and the ability to make authenticated requests.

Verified impact: A phishing overlay form was confirmed to transmit captured plaintext credentials to an attacker-controlled server. No authentication is required at any step.

CSP note: NukeViet's Content-Security-Policy includes script-src 'unsafe-inline' and does not restrict navigation, so the policy does not prevent exploitation.

CVSS 3.1

Vector: AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N Base Score: 8.2 (High)

MetricValueRationale
Attack VectorNetworkExploitable remotely via crafted URL
Attack ComplexityLowcheckss readable from public HTML; no special setup required
Privileges RequiredNoneNo authentication needed
User InteractionRequiredVictim must open the crafted URL
ScopeChangedJavaScript executes in victim's browser, crossing the application security boundary
ConfidentialityHighFull plaintext credential capture demonstrated via phishing overlay
IntegrityLowDOM manipulation and authenticated requests possible; no direct backend write access
AvailabilityNoneNo denial-of-service impact

Patches

Both root causes are addressed:

Fix 1 - Bind checkss to user session: Replace NV_CACHE_PREFIX with NV_CHECK_SESSION in all locations that generate or validate the comment checkss token - both inside the comment module itself and in any caller module that constructs the token before invoking the comment system. With a session-bound token, a value obtained by the attacker is invalid for any other user's session, removing the delivery mechanism for this attack.

Fix 2 - Escape decoded output before rendering: Apply nv_htmlspecialchars() to the result of nv_base64_decode($status_comment) before assigning it to the template. This closes the XSS sink as an independent defence-in-depth measure, remaining effective regardless of how the code path is reached.

Fix 1 alone eliminates the exploitability of this specific vector. Fix 2 is a necessary defence-in-depth layer that closes the underlying sink.

CWE

  • CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
  • CWE-565: Reliance on Cookies without Validation and Integrity Checking (contributing factor - session-independent token)

Executive ViewAI

Why It Matters

NukeViet CMS versions prior to 4.5.09 contain a reflected cross-site scripting vulnerability that enables unauthenticated attackers to inject credential-harvesting overlays into user browsers via malicious links, placing user accounts and organizational data at risk. No vendor patch is currently available, requiring immediate risk mitigation to prevent account compromise and credential theft. Organizations operating public-facing instances must prioritize assessment and containment to protect user trust and prevent business disruption from account takeover incidents.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict or disable public access to Comment module functionality; (2) Deploy WAF rules targeting base64-encoded payloads in the status_comment parameter; (3) Implement Content Security Policy headers with strict script-src directives; (4) Apply server-side HTML encoding and input validation to all user-submitted comment data; (5) Institute rate-limiting on comment submissions and establish monitoring for suspicious activity patterns.

Threat Intelligence Overview

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Low
niche open-source CMS, mainly Vietnamese-market deployments
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy