CVE-2026-41147: NukeViet CMS Cross-Site Scripting Vulnerability
HIGHCVE-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
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).
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.
Upgrade nukeviet/nukeviet to Latest secure release
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
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?
Which NukeViet CMS versions are affected?
What version fixes CVE-2026-41147?
Is nukeviet/nukeviet affected?
What is the CVSS score of CVE-2026-41147?
What CWE is associated with CVE-2026-41147?
How can I check Packagist dependencies for CVE-2026-41147?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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=\"<img src=1 onerror=alert(document.cookie)>\"></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"
}
}