NukeViet CMS: Unauthenticated Stored XSS in the Contact module via HTML sanitizer bypass
nukeviet
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| nukeviet nukeviet |
| No fix yet |
Original description
NukeViet CMS is a multi Content Management System. Prior to 4.6.01, an unauthenticated visitor can submit Contact module content containing numeric HTML entities with more than eight leading zeros in a URL-bearing attribute. NukeViet\Core\Request::unhtmlentities() does not decode that form before filterAttr() checks for a javascript: scheme, but browsers decode it when rendering the stored content. With an allowed tag such as the default iframe, the reconstructed script URL executes in the administration origin when staff view the message, permitting session-riding actions while remaining unable to read the HttpOnly session cookie directly. This issue is fixed in version 4.6.01.
From the CVE record · GitHub_M