CVE-2026-41147: NukeViet CMS Cross-Site Scripting Vulnerability

HIGH
Advisory Identifier: GHSA-64rr-pp78-62ww
CVSS 8.7
CWE-79
Published
Advisory Summary

CVE-2026-41147 is a HIGH (CVSS 8.7) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting NukeViet CMS libraries in the Packagist ecosystem. The issue involves stored cross-site scripting (xss) via insufficient server-side input sanitization in request class. Remediation is available in the latest vendor maintenance releases.

CVE-2026-41147 at a Glance

CVE Identifier CVE-2026-41147
GHSA Identifier GHSA-64rr-pp78-62ww
Severity HIGH
CVSS v3.1 Base Score 8.7
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product NukeViet CMS
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-41147

To remediate this vulnerability, upgrade all affected NukeViet CMS dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

nukeviet/nukeviet fixed: Latest secure release
Upgrade nukeviet/nukeviet to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for nukeviet/nukeviet

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-41147, inspect your project dependencies for NukeViet CMS:

inspect dependencies for nukeviet/nukeviet

Analyze the terminal output to locate any version of NukeViet CMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In NukeViet CMS, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact NukeViet CMS <= 4.5.08 contains a Stored Cross-Site Scripting (XSS) vulnerability caused by insufficient server-side input sanitization in the Request class. The application relies primarily on client-side filtering to sanitize HTML tags and attributes in user-submitted content, which can be bypassed by intercepting and modifying HTTP requests directly (e.g., using Burp Suite). This affects any module or functionality that accepts user HTML input through the Request class. An attacker can inject malicious payloads such as `<iframe srcdoc="&lt;img src=1 onerror=alert(document.cookie)&gt;"></iframe>`, which are stored server-side and executed in the browser of any user who views the content. **Who is impacted:** - Administrators and moderators who view user-submitted content (e.g., contact messages, comments, or any module using the Request class for HTML input). - The Contact module was used as a proof of concept, but the vulnerability is not limited to this module. - No authentication is required to exploit this vulnerability, making it accessible to any anonymous visitor. **Potential impact includes:** - Session hijacking via cookie theft (for non-HttpOnly cookies) - Performing actions on the application under the victim's identity - Defacement or redirection to phishing pages - Phishing attacks via manipulated email notifications ### Patches This vulnerability has been fixed in NukeViet 4.5.08. Users should upgrade to version >= 4.5.08. ### Workarounds - Implement server-side HTML sanitization in the Request class to strip or encode dangerous tags and attributes (e.g., `<iframe>`, `srcdoc`, event handlers such as `onerror`, `onload`). - Apply a Content Security Policy (CSP) header to restrict inline script execution. - Ensure cookies are set with the `HttpOnly` flag to mitigate cookie theft via XSS. ### Resources - Affected source: https://github.com/nukeviet/nukeviet/blob/nukeviet4.5/modules/contact/funcs/main.php - CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'): https://cwe.mitre.org/data/definitions/79.html

CVE-2026-41147 Affected NukeViet CMS Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
nukeviet/nukeviet
Packagist
≤ 4.4.01

References

Frequently Asked Questions

What is CVE-2026-41147?
CVE-2026-41147 is a security vulnerability in NukeViet CMS involving Stored Cross-Site Scripting (XSS) via insufficient server-side input sanitization in Request class under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which NukeViet CMS versions are affected?
Affected versions include releases prior to current release patches across affected packages: nukeviet/nukeviet.
What version fixes CVE-2026-41147?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is nukeviet/nukeviet affected?
Yes, nukeviet/nukeviet is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-41147?
CVE-2026-41147 has a CVSS v3.1 base score of 8.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-41147?
CVE-2026-41147 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2026-41147?
Run the dependency tree command: 'inspect dependencies for nukeviet/nukeviet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-64rr-pp78-62ww",
  "modified" : "2026-06-08T23:20:55Z",
  "published" : "2026-05-15T16:45:03Z",
  "aliases" : [ "CVE-2026-41147" ],
  "summary" : "NukeViet CMS: Stored Cross-Site Scripting (XSS) via insufficient server-side input sanitization in Request class",
  "details" : "### Impact\n\nNukeViet CMS <= 4.5.08 contains a Stored Cross-Site Scripting (XSS) vulnerability caused by insufficient server-side input sanitization in the Request class. The application relies primarily on client-side filtering to sanitize HTML tags and attributes in user-submitted content, which can be bypassed by intercepting and modifying HTTP requests directly (e.g., using Burp Suite).\n\nThis affects any module or functionality that accepts user HTML input through the Request class. An attacker can inject malicious payloads such as `<iframe srcdoc=\"&lt;img src=1 onerror=alert(document.cookie)&gt;\"></iframe>`, which are stored server-side and executed in the browser of any user who views the content.\n\n**Who is impacted:**\n- Administrators and moderators who view user-submitted content (e.g., contact messages, comments, or any module using the Request class for HTML input).\n- The Contact module was used as a proof of concept, but the vulnerability is not limited to this module.\n- No authentication is required to exploit this vulnerability, making it accessible to any anonymous visitor.\n\n**Potential impact includes:**\n- Session hijacking via cookie theft (for non-HttpOnly cookies)\n- Performing actions on the application under the victim's identity\n- Defacement or redirection to phishing pages\n- Phishing attacks via manipulated email notifications\n\n### Patches\n\nThis vulnerability has been fixed in NukeViet 4.5.08. Users should upgrade to version >= 4.5.08.\n\n### Workarounds\n\n- Implement server-side HTML sanitization in the Request class to strip or encode dangerous tags and attributes (e.g., `<iframe>`, `srcdoc`, event handlers such as `onerror`, `onload`).\n- Apply a Content Security Policy (CSP) header to restrict inline script execution.\n- Ensure cookies are set with the `HttpOnly` flag to mitigate cookie theft via XSS.\n\n### Resources\n\n- Affected source: https://github.com/nukeviet/nukeviet/blob/nukeviet4.5/modules/contact/funcs/main.php\n- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'): https://cwe.mitre.org/data/definitions/79.html",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "nukeviet/nukeviet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "4.4.01"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/nukeviet/nukeviet/security/advisories/GHSA-64rr-pp78-62ww"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-41147"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nukeviet/nukeviet/commit/2a0860fbe22e2f6a3b90f802bf80b25e18699611"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/nukeviet/nukeviet"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/nukeviet/nukeviet/releases/tag/4.5.08"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-15T16:45:03Z",
    "nvd_published_at" : "2026-05-22T22:16:56Z"
  }
}