Skip to main content

CVE-2026-112951: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in apostrophecms apostrophe

0
Medium
VulnerabilityCVE-2026-112951cvecve-2026-112951cwe-79
Published: 10/20/2026 (10/20/2026, 15:33:09 UTC)
Source: CVE Database V5
Vendor/Project: apostrophecms
Product: apostrophe

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.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

apostrophecms

apostrophe

Affected versions
<4.34.0
GitHub Actionsmore threats →ai
apostrophecms/apostrophe
pkg:github/apostrophecms/apostrophe
Affected versions
<4.34.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/20/2026, 16:04:44 UTC

Technical Analysis

ApostropheCMS, an open-source Node.js content management system, has a stored XSS vulnerability (CWE-79) in versions before 4.34.0. The color field validation uses TinyColor but does not enforce that the entire input matches a valid color format, permitting trailing content after a valid rgb() or hsl() prefix. An authenticated user with edit permissions can exploit this by injecting arbitrary HTML, which executes when the stored value is rendered. The issue is resolved in version 4.34.0.

Potential Impact

An authenticated user with edit rights can inject and store arbitrary HTML content via the color field, leading to stored cross-site scripting. This can result in the execution of malicious scripts in the context of users viewing the affected content, potentially compromising confidentiality and integrity of user sessions or data. The CVSS score is 5.4 (medium severity), indicating a moderate impact with low attack complexity but requiring user interaction and privileges.

Mitigation Recommendations

Upgrade ApostropheCMS to version 4.34.0 or later, where this vulnerability is fixed. No other mitigation is specified or required as the fix addresses the root cause in input validation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-10-19T21:30:47.246Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad78d872cdf04f6563d76fa

Added to database: 10/20/2026, 15:49:27 UTC

Last enriched: 10/20/2026, 16:04:44 UTC

Last updated: 10/20/2026, 19:06:08 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses