CVE-2024-22191
MEDIUM 5.4CVSS 3.1avo vulnerable to stored cross-site scripting (XSS) in key_value field
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 and v2.46.0. 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 and 2.47.0 include a fix for this issue. Users are advised to upgrade.
- Published
- 16 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-ghjv-mh6x-7q6h
- Sources
- NVDJSONOSV GHSA-ghjv-mh6x-7q6hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | avohq | avocpe:2.3:a:avohq:avo:*:*:*:*:*:ruby:*:* |
< 2.47.0 | 2.47.0 |
| NVD | avohq | avocpe:2.3:a:avohq:avo:*:*:*:*:*:ruby:*:* |
>= 3.0.0, < 3.3.0 | 3.3.0 |
| OSV | RubyGems | avo | >= 3.0.0.beta1, < 3.2.4 | 3.2.4 |
| OSV | RubyGems | avo | < 2.47.0 | 2.47.0 |
References
- https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347 · Patch, WEB
- https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258 · Patch, WEB
- https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22191 · ADVISORY
- https://github.com/avo-hq/avo · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22191.yml · WEB
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 16 Jan 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jan 2024)