CVE-2023-51763
Ruby vulnerability analysis and mitigation

Overview

csv_builder.rb in ActiveAdmin (aka Active Admin) before 3.2.0 allows CSV injection. The vulnerability was discovered and disclosed on December 23, 2023, affecting all versions of ActiveAdmin prior to version 3.2.0 (NVD, MITRE).

Technical details

The vulnerability exists in the csv_builder.rb component where CSV data was not properly sanitized before being processed. The issue specifically relates to the handling of data that starts with special characters like '=', '+', '-', '@', tab, or carriage return, which could be used to inject malicious formulas into CSV files. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker to perform CSV injection attacks, which may lead to formula injection when the CSV file is opened in spreadsheet applications. This could potentially lead to execution of arbitrary code on the victim's system when the CSV file is opened (GitHub PR).

Mitigation and workarounds

The vulnerability has been fixed in ActiveAdmin version 3.2.0. The fix involves implementing proper sanitization of CSV data by prepending a single quote to any field that starts with potentially dangerous characters. Users are advised to upgrade to version 3.2.0 or later (GitHub Release).

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-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
GHSA-96qw-h329-v5rgHIGH7.5
  • JavaScriptJavaScript
  • shakapacker
NoYesJan 08, 2026
CVE-2026-22588MEDIUM6.5
  • RubyRuby
  • spree_api
NoYesJan 08, 2026
GHSA-g9jg-w8vm-g96vMEDIUM4.6
  • JavaScriptJavaScript
  • trix
NoYesDec 31, 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