CVE-2024-22191 json
Stored cross-site scripting (XSS) in `key_value` field in Avo
published 2024-01-16 2 y ago modified 2026-09-10 1 mo ago also GHSA-ghjv-mh6x-7q6h , EUVD-2024-0356
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems avo 2.47.0, 3.2.4
- avo_hq avo 2.4.7.0, 3.2.4
- github.com/avo-hq/avo@51bb80b commit
- github.com/avo-hq/avo@fc92a05 commit
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | avo | >=3.0.0.beta1, <3.2.4 <2.47.0 |
3.2.4 2.47.0 |
Affected products
- avo-hq avo
- avo_hq avo
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347
web, patch
-
github.com
/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258
web, patch
-
github.com
/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-22191
advisory
-
github.com
/avo-hq/avo
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22191.yml
web
Sources
- CVE List CVE-2024-22191
- GitHub Advisory GHSA-ghjv-mh6x-7q6h
- NVD CVE-2024-22191
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.