GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Check your stack
GHSA-64rr-pp78-62wwhigh8.7

NukeViet CMS: Stored Cross-Site Scripting (XSS) via insufficient server-side input sanitization in Request class

Impact

NukeViet CMS , which are stored server-side and executed in the browser of any user who views the content.

Source excerpt · OSV

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Affected rangeRecorded fix
Earlier releases through 4.4.01 (inclusive)Ecosystem versionsNot recorded

Version evidence: OSV · GHSA-64rr-pp78-62ww

View original version evidence (2 explicit versions)

Original source description

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

References