NukeViet CMS stored XSS in Contact module messages
nukeviet
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nukeviet nukeviet |
| No fix yet |
Original description
NukeViet CMS is a multi Content Management System. From the 3.x release line until 4.6.01, an unauthenticated visitor can submit a Contact module message containing an event-handler attribute prefixed by a slash. NukeViet\Core\Request::filterTags() tokenizes attributes using only ASCII spaces, so it sees /onerror and misses the ^on denylist, while the browser treats the slash as a separator and activates onerror. The message is stored and rendered without output encoding in the administration panel, which lacks a Content Security Policy, allowing same-origin JavaScript execution when an administrator opens the message. This issue is fixed in version 4.6.01.
From the CVE record · GitHub_M