Advisory record · GHSA-vmgj-9cwm-cf3h

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

CVSS 5.4 MediumEPSS 0.0030 · 23rd percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 17:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
apostrophenpm<4.34.04.34.0
Identifiers
GHSA-vmgj-9cwm-cf3h · CVE-2026-112951
Weakness (CWE)
CWE-79
Published
21 Oct 2026
Updated
21 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

ApostropheCMS versions before 4.34.0 accept color field values that begin with a valid rgb() or hsl() color followed by arbitrary text, because the TinyColor validation is not anchored at the end of the string. An authenticated user with edit permission can store HTML after such a prefix, which executes in the browsers of visitors and administrators who view the page, enabling stored cross-site scripting. The package is fixed in version 4.34.0, so upgrading to that version or later is the remedy.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0030, the 23rd percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.