Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. apostrophe
  4. ›
  5. CVE-2026-112951

CVE-2026-112951: ApostropheCMS: Color field validation bypass allows stored XSS via HTML appended after rgb()/hsl() prefix

October 21, 2026

The color field accepts any string that begins with a valid rgb() / hsl() color, because TinyColor.isValid does not anchor its match at the end of the string. 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.

References

  • github.com/advisories/GHSA-vmgj-9cwm-cf3h
  • github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498
  • github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea
  • github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0
  • github.com/apostrophecms/apostrophe/security/advisories/GHSA-vmgj-9cwm-cf3h
  • nvd.nist.gov/vuln/detail/CVE-2026-112951

Code Behaviors & Features

Detect and mitigate CVE-2026-112951 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.34.0

Fixed versions

  • 4.34.0

Solution

Upgrade to version 4.34.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/apostrophe/CVE-2026-112951.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.