{"id":"CVE-2026-112951","published":"2026-10-20T15:33:09Z","modified":"2026-10-20T16:43:32Z","title":"ApostropheCMS: Color field validation bypass allows stored XSS via HTML appended after rgb()/hsl() prefix","vendor":"apostrophecms","product":"apostrophe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00304,"percentile":0.23741,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-vmgj-9cwm-cf3h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":4.75},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":["< 4.34.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T16:42:47.280895Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"apostrophe","vulnerableRanges":["<4.34.0"],"patched":["4.34.0"],"from":["GHSA-vmgj-9cwm-cf3h"],"provenance":"source"}],"summary":{"text":"The Color field in ApostropheCMS (the apostrophe Node.js content management system) accepts trailing content after a valid rgb() or hsl() value because its TinyColor-based validation does not require the whole input to be a color. An attacker who holds an authenticated account with edit rights, and who can get a victim to view the affected content (user interaction required, network access), can store HTML appended after a valid color prefix, which executes in the victim's browser when the value is rendered.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:28Z"},"euvd":{"id":"EUVD-2026-105154","exploited":false,"provenance":"source"}}