NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
CRITICAL severity

NukeViet CMS: Unauthenticated Stored XSS in the Contact ModuleGHSA-662q-v5rm-78gm

CRITICALFix: nukeviet/nukeviet@ef90780

GHSA-662q-v5rm-78gm is a critical-severity (CVSS 9.3) Cross-site Scripting (XSS) vulnerability in nukeviet/nukeviet. A fix is available for nukeviet/nukeviet — see the affected versions and patch details below.

Also known asCVE-2026-94565
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for GHSA-662q-v5rm-78gm.

EPSS Exploitation Probability

via FIRST.org ↗
0.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs54th percentile — riskier than 54% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐘nukeviet/nukeviet

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Summary

A stored-XSS vulnerability in the Contact module allows any unauthenticated user to inject malicious Javascript.

Details

NukeViet's central input filter (NukeViet\Core\Request::filterTags), applied to virtually all POST data, is a denylist HTML sanitizer. Its most important rule strips any attribute whose name matches /^on/i (event handlers). This rule is bypassable through an HTML parser differential: the filter tokenizes a tag's attributes by splitting on ASCII space (0x20) only, whereas browsers also separate attributes on /. By inserting a / immediately before an event-handler name, the attacker makes the filter read the attribute name as /onerror — which does not start with on, so the denylist misses it — while the browser parses it as onerror and fires it.

The payload survives the entire filter chain unmodified and is stored and served raw (no output encoding) into the administration panel, which sends no Content-Security-Policy:

INPUT  : <img src=x /onerror=alert(document.domain)>
STORED : <img src="x" /onerror="alert(document.domain)" />
ADMIN  : <td colspan="2"><img src="x" /onerror="alert(document.domain)" /></td>

Because the handler executes in the same origin as the admin panel, an unauthenticated attacker who submits a crafted contact message obtains arbitrary JavaScript execution in the session of any administrator who opens it — enabling administrator account takeover.

PoC

Minimal payload

<img src=x /onerror=alert(document.domain)>

alert(document.domain) displays the site's real origin (e.g. the target host), proving same-origin execution.

Manual reproduction (fresh 4.6.00 install, default config)

  1. As an anonymous visitor open /contact/; set the message field to the payload above.
  2. Solve the CAPTCHA and submit (form returns status: ok).
  3. Log in to the admin panel; open Admin → Contact and view the message (admin/index.php?nv=contact&op=view&id=<id>).
  4. onerror fires on view; alert() shows the panel's own origin.

Impact

An unauthenticated attacker achieves arbitrary JavaScript execution in the same origin as the NukeViet admin panel, running in the session of any administrator who views the malicious contact message. Possible attacks:

  1. Super admin account persistence
  2. RCE via admin functions

Mitigation

  1. Tokenize attributes the way the HTML spec does. In filterTags(), treat / (and all HTML whitespace: tab, LF, FF, CR, space) as attribute separators, so /onerror is parsed as the token onerror and caught by the existing denylist. Equivalently, strip leading / and other non-name characters from the attribute name before the ^on test.
  2. Do not preserve non-conforming attribute names. Reject/normalize any attribute whose name is not [A-Za-z][A-Za-z0-9-]* after normalization, rather than emitting /onerror verbatim.
  3. Prefer an allowlist of attributes over the ^on denylist; drop anything not explicitly permitted for the element.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistnukeviet/nukeviet≥ 3.0.0&&< 4.6.014.6.01composer require nukeviet/nukeviet:^4.6.01

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for nukeviet/nukeviet, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update nukeviet/nukeviet to 4.6.01 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-662q-v5rm-78gm is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Summary A stored-XSS vulnerability in the Contact module allows any unauthenticated user to inject malicious Javascript. ### Details NukeViet's central input filter (`NukeViet\Core\Request::filterTags`), applied to virtually all `POST` data, is a denylist HTML sanitizer. Its most important rule strips any attribute whose name matches `/^on/i` (event handlers). This rule is bypassable through an **HTML parser differential**: the filter tokenizes a tag's attributes by splitting on ASCII space (`0x20`) only, whereas browsers also separate attributes on `/`. By inserting a `/` immediately bef
O3 Security · Impact-Aware SCA

Is GHSA-662q-v5rm-78gm in your dependencies?

Find it across Packagist, including transitive dependencies.

NukeViet CMS: Unauthenticated Stored XSS in the…