# CVE-2024-22191: Stored cross-site scripting (XSS) in `key_value` field in Avo

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-16T15:24:00.000Z
- Modified: 2026-09-10T03:50:00.578Z
- Also known as: GHSA-ghjv-mh6x-7q6h
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- avo-hq avo: >= 3.0.0.beta1, < 3.2.4; < 2.47.0
- avo_hq avo: from 3.0.0.beta1 before 3.2.4; before 2.4.7.0
- avo (RubyGems): from 3.0.0.beta1 before 3.2.4; before 2.47.0
- avohq avo: before 2.47.0; from 3.0.0 before 3.3.0

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h> (exploit, vendor-advisory, web)
- <https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347> (patch, web)
- <https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258> (patch, 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)

## Sources

- CVE List: [CVE-2024-22191](https://www.cve.org/CVERecord?id=CVE-2024-22191), CVE Terms of Use, modified 2024-10-21
- GitHub Advisory Database: [GHSA-ghjv-mh6x-7q6h](https://github.com/advisories/GHSA-ghjv-mh6x-7q6h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-22191](https://nvd.nist.gov/vuln/detail/CVE-2024-22191), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-22191 · Whole record: https://cve.day/CVE-2024-22191.json · Rebuilt by cve.day 2026-11-25T22:58:36.170Z
