Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. avo
  4. ›
  5. CVE-2024-22191

CVE-2024-22191: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

January 16, 2024

Avo is a framework to create admin panels for Ruby on Rails apps. A stored cross-site scripting (XSS) vulnerability was found in the key_value field of Avo v3.2.3. This vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim’s browser. The value of the key_value is inserted directly into the HTML code. In the current version of Avo (possibly also older versions), the value is not properly sanitized before it is inserted into the HTML code. This vulnerability could be used to steal sensitive information from victims that could be used to hijack victims’ accounts or redirect them to malicious websites. Avo 3.2.4 includes a fix for this issue. Users are advised to upgrade.

References

  • github.com/advisories/GHSA-ghjv-mh6x-7q6h
  • github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347
  • github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h

Code Behaviors & Features

Detect and mitigate CVE-2024-22191 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.2.3

Fixed versions

  • 3.2.4

Solution

Upgrade to version 3.2.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/avo/CVE-2024-22191.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:26 +0000.