CVE-2026-48118

HIGHPre-NVD 8.28.2
EchelonGraph scoreLOW confidence

This high-severity CVE scores 8.2 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
8.2
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: CVSS: 8.2Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

NukeViet: Unauthenticated Reflected XSS in Comment Module

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 `.

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

  • Attacker opens any article with a comment block and reads the checkss value from the HTML source.
  • Attacker constructs a payload (e.g. a credential-phishing overlay) and base64-encodes it.
  • Attacker delivers the following URL to the victim:
https:///index.php?language=vi&nv=comment&comment_load=1
     &module=news&area=&id=&allowed=
     &checkss=
     &status_comment=
  • 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)

| Metric | Value | Rationale | |--------|-------|-----------| | Attack Vector | Network | Exploitable remotely via crafted URL | | Attack Complexity | Low | checkss readable from public HTML; no special setup required | | Privileges Required | None | No authentication needed | | User Interaction | Required | Victim must open the crafted URL | | Scope | Changed | JavaScript executes in victim's browser, crossing the application security boundary | | Confidentiality | High | Full plaintext credential capture demonstrated via phishing overlay | | Integrity | Low | DOM manipulation and authenticated requests possible; no direct backend write access | | Availability | None | No 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)

CVSS v3
8.2
EG Score
8.2(low)
EPSS
KEV
Not listed

Published

July 13, 2026

Last Modified

July 13, 2026

Vendor Advisories for CVE-2026-48118(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 5× in last 7d / 5× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-15 15:28 UTCEG score recompute
  2. 2026-07-15 04:08 UTCEG score recompute
  3. 2026-07-14 16:45 UTCEG score recompute
  4. 2026-07-14 05:27 UTCEG score recompute
  5. 2026-07-13 18:07 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-48118?
CVE-2026-48118 is a high vulnerability published on July 13, 2026. NukeViet: Unauthenticated Reflected XSS in Comment Module Summary Reflected XSS in the Comment module via the statuscomment 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…
When was CVE-2026-48118 disclosed?
CVE-2026-48118 was first published in the National Vulnerability Database on July 13, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-48118?
CVE-2026-48118 has a CVSS v4.0 base score of 8.2 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-48118?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-48118, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-48118

Explore →

Is Your Infrastructure Affected by CVE-2026-48118?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.