Skip to main content

NukeViet CMS CVE-2026-41147

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-15 https://github.com/nukeviet/nukeviet GHSA-64rr-pp78-62ww
8.7
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

Lifecycle Timeline

2
Source Code Evidence Fetched
May 15, 2026 - 17:15 vuln.today
Analysis Generated
May 15, 2026 - 17:15 vuln.today

DescriptionGitHub Advisory

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

AnalysisAI

Stored Cross-Site Scripting (XSS) in NukeViet CMS versions up to 4.5.07 allows unauthenticated attackers to inject malicious HTML/JavaScript through any module using the Request class for HTML input. The vulnerability stems from insufficient server-side sanitization that relies on client-side filtering, which attackers can bypass using proxy tools like Burp Suite. While not currently listed in CISA KEV and lacking public exploit code, the issue poses significant risk as it requires no authentication and affects administrative users viewing user-submitted content.

Technical ContextAI

NukeViet CMS is a PHP-based content management system distributed via Composer (pkg:composer/nukeviet_nukeviet). The vulnerability exists in the Core/Request.php class which handles user input sanitization. The root cause, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), occurs because the application performs HTML filtering on the client side, which can be bypassed. The specific weakness involves the srcdoc attribute of iframe elements, which can contain nested HTML with dangerous event handlers like onerror, creating a recursive XSS vector that the original filtering logic failed to address.

RemediationAI

Vendor-released patch: upgrade to NukeViet CMS version 4.5.08 or later, which implements recursive HTML content filtering for attributes like srcdoc. The fix is available via GitHub commit 2a0860fbe22e2f6a3b90f802bf80b25e18699611. For systems that cannot immediately upgrade, implement server-side HTML sanitization to strip iframe tags and srcdoc attributes, deploy Content Security Policy headers to block inline script execution (may break legitimate functionality), and ensure all cookies use the HttpOnly flag to prevent theft via XSS. Each workaround has limitations: CSP may break existing features, and manual sanitization requires careful implementation to avoid bypasses.

More in PHP

View all
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-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

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-41147 vulnerability details – vuln.today

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