Vulnerability DatabaseGHSA-8fx8-3rg2-79xw

GHSA-8fx8-3rg2-79xw
Ruby vulnerability analysis and mitigation

Overview

A stored cross-site scripting (XSS) vulnerability was discovered in Camaleon CMS's image upload functionality, identified as GHSA-8fx8-3rg2-79xw. The vulnerability affects versions prior to 2.8.1 and was published on September 23, 2024. The vulnerability allows registered users to upload SVG images containing malicious JavaScript code or HTML documents by manipulating the format parameter (GitHub Advisory).

Technical details

The vulnerability exists in the image upload functionality where users can upload SVG files containing JavaScript or HTML documents by modifying the format parameter to 'documents' or an unsupported format. The vulnerability has been assigned a CVSS v4.0 score of 4.8 (Moderate severity) with the following vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N. The vulnerability is classified as CWE-79 (Cross-site Scripting) (GitHub Advisory).

Impact

The vulnerability can lead to account takeover through reflected Cross-site Scripting (XSS). When an authenticated user or administrator visits the uploaded malicious file, unauthorized JavaScript code can be executed on their behalf, potentially allowing attackers to modify or delete content within the CMS (GitHub Advisory, Ruby Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.8.1. Recommended mitigations include: only allowing upload of safe files (PNG, TXT), serving unsafe files with a content-disposition: attachment header, implementing a Content Security Policy (CSP) that disallows inline scripts, marking auth_token with HttpOnly flag, and considering the use of Ruby on Rails authentication for time-limited tokens (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61919HIGH7.5
  • RubyRuby
  • ruby3.2-rack
NoYesOct 10, 2025
CVE-2025-61772HIGH7.5
  • RubyRuby
  • ruby3.3-rails-7.2
NoYesOct 07, 2025
CVE-2025-61771HIGH7.5
  • RubyRuby
  • logstash-8.18
NoYesOct 07, 2025
CVE-2025-61780MEDIUM5.8
  • RubyRuby
  • ruby3.4-rack
NoYesOct 10, 2025
CVE-2025-61921LOW2.7
  • RubyRuby
  • sinatra
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management