ApostropheCMS stored XSS in color fields
apostrophecms apostrophe
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| apostrophe npm |
|
|
Original description
ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, the color field accepts trailing content after a valid rgb() or hsl() prefix because its TinyColor validation does not require the entire value to match a color. An authenticated user with edit rights can store arbitrary HTML after a valid color prefix. When the stored value is rendered, the payload executes, resulting in stored XSS. This issue is fixed in version 4.34.0.
From the CVE record · GitHub_M