sanitize-html unsafe URL retention in meta refresh handling
apostrophecms apostrophe · apostrophecms sanitize-html
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sanitize-html npm |
|
|
Original description
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Prior to sanitize-html 2.18.0, a non-default configuration that allows meta refresh elements and their http-equiv and content attributes can retain unsafe script or redirect destinations embedded in the refresh content value. This issue is fixed in sanitize-html 2.18.0.
From the CVE record · GitHub_M