Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-73329

CVE-2026-73329: CamaleonCMS Stored XSS Vulnerability

CVE-2026-73329 is a stored XSS vulnerability in CamaleonCMS allowing low-privileged users to inject malicious scripts via draft titles. This post covers the technical details, affected versions, impact, and mitigation.

Published:

CVE-2026-73329 Overview

CVE-2026-73329 is a stored cross-site scripting (XSS) vulnerability in CamaleonCMS, an open-source Ruby on Rails content management system. Authenticated low-privileged users can inject arbitrary JavaScript into the post title parameter during draft creation. The application persists the payload without sanitization and later renders it as raw HTML in the administrator drafts listing view. When an administrator visits the drafts page, the injected script executes in the administrator's browser context. This enables session compromise, cookie theft, and forged authenticated requests against the CMS. The weakness is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

A low-privileged authenticated user can compromise administrator sessions and hijack the CMS by injecting HTML into a draft post title.

Affected Products

  • CamaleonCMS (Ruby on Rails CMS by owen2345)
  • Deployments exposing the drafts creation endpoint to low-privileged authenticated users
  • Installations that render draft titles in the admin drafts listing view

Discovery Timeline

  • 2026-08-12 - CVE-2026-73329 published to the National Vulnerability Database (NVD)
  • 2026-08-12 - Last updated in NVD database

Technical Details for CVE-2026-73329

Vulnerability Analysis

The vulnerability resides in the draft creation workflow of CamaleonCMS. An authenticated user with permission to create drafts submits a post title containing HTML or JavaScript. The application stores the title verbatim in the database. When any administrator loads the admin drafts listing, the title is emitted into the response HTML without escaping. The browser parses the payload and executes attacker-controlled script under the administrator's origin and session.

The attack requires only low privileges to inject the payload. Triggering execution requires an administrator to view the drafts listing, which is a routine administrative task. Successful exploitation grants the attacker the same authority as the administrator, including the ability to modify site content, create new privileged accounts, and pivot to further attacks against the underlying application. See the VulnCheck advisory for additional context.

Root Cause

The root cause is missing output encoding when rendering user-supplied draft titles in the administrative interface. The drafts controller and its associated view template treat the title field as trusted markup rather than escaping it as text. This violates the standard Rails practice of using automatic HTML escaping helpers on all attacker-influenced strings.

Attack Vector

The attack vector is network-based and requires authentication as a low-privileged content contributor. The attacker submits a crafted HTML or JavaScript payload as the title field to the drafts creation endpoint. The payload persists across sessions and fires whenever an administrator visits the drafts listing. Technical write-up details are available on the Enrik-M vulnerability blog.

Refer to the CamaleonCMS repository for source code review of the drafts controller and views.

Detection Methods for CVE-2026-73329

Indicators of Compromise

  • Draft records whose title columns contain HTML tags such as <script>, <img onerror=...>, <svg onload=...>, or inline event handlers
  • Outbound requests from administrator browsers to unfamiliar domains shortly after loading the admin drafts listing
  • Unexpected creation of new administrator accounts or privilege changes originating from an administrator session
  • Application logs showing draft creation requests from low-privileged users with unusually long or encoded title parameters

Detection Strategies

  • Query the CamaleonCMS database for post records where the title field contains <, >, javascript:, or on[a-z]+= patterns
  • Deploy a web application firewall rule to inspect POST requests to draft creation endpoints for HTML tags and script content in the title parameter
  • Enforce a strict Content Security Policy (CSP) in the admin interface and monitor for CSP violation reports

Monitoring Recommendations

  • Log all draft creation and modification events with the submitting user identity and full parameter payloads
  • Alert on administrator sessions performing sensitive actions immediately after loading the drafts listing view
  • Correlate low-privileged user activity with subsequent administrator-level configuration or user management changes

How to Mitigate CVE-2026-73329

Immediate Actions Required

  • Restrict access to the draft creation endpoint to trusted users only until a fix is deployed
  • Audit existing draft records for stored HTML payloads and purge or sanitize any that contain script content
  • Rotate administrator session cookies and credentials that may have been exposed to a compromised drafts listing
  • Review recent administrative changes for unauthorized user creation or content modification

Patch Information

No fixed version is identified in the enriched CVE data at the time of publication. Monitor the CamaleonCMS GitHub repository and the VulnCheck advisory for an official patch. Apply Rails HTML escaping helpers such as h() or sanitize to the draft title output in the admin drafts view as a code-level remediation.

Workarounds

  • Add a web application firewall rule blocking HTML tags and event handler attributes in the title parameter of draft creation requests
  • Apply a strict Content Security Policy that disallows inline scripts (script-src 'self') on the CamaleonCMS admin interface
  • Modify the admin drafts view template to force HTML escaping of the title field using Rails escape helpers
  • Temporarily revoke draft creation permissions from untrusted user roles

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.