CVE-2024-22411
JSON

6.5medium

Cross site scripting in Action messages on Avo

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.71% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-g8vp-2v5p-9qfh

Description

Avo is a framework to create admin panels for Ruby on Rails apps. In Avo 3 pre12, any HTML inside text that is passed to `error` or `succeed` in an `Avo::BaseAction` subclass will be rendered directly without sanitization in the toast/notification that appears in the UI on Action completion. A malicious user could exploit this vulnerability to trigger a cross site scripting attack on an unsuspecting user. This issue has been addressed in the 3.3.0 and 2.47.0 releases of Avo. Users are advised to upgrade.

Affected

Product or packageVersionsReported by
avo-hq avo>= 3.0.0.beta1, < 3.3.0, < 2.47.0CVE List
avo (RubyGems)from 3.0.0.beta1 before 3.3.0, before 2.47.0GitHub Advisory Database
avohq avobefore 2.47.0, from 3.0.2 before 3.3.0, 3.0.0NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Avo is a framework to create admin panels for Ruby on Rails apps. In Avo 3 pre12, any HTML inside text that is passed to `error` or `succeed` in an `Avo::BaseAction` subclass will be rendered directly without sanitization in the toast/notification that appears in the UI on Action completion. A malicious user could exploit this vulnerability to trigger a cross site scripting attack on an unsuspecting user. This issue has been addressed in the 3.3.0 and 2.47.0 releases of Avo. Users are advised to upgrade.

NVD (es)

Avo es un framework para crear paneles de administración para aplicaciones Ruby on Rails. En Avo 3 pre12, cualquier texto HTML interno que se pase a "error" o "succeed" en una subclase "Avo::BaseAction" se representará directamente sin sanitización en toast/notification que aparece en la interfaz de usuario al finalizar la acción. Un usuario malintencionado podría aprovechar esta vulnerabilidad para desencadenar un ataque de cross site scripting en un usuario desprevenido. Este problema se solucionó en la versión 3.0.0 de Avo. Se recomienda a los usuarios que actualicen.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-22411 changed 2025-06-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-g8vp-2v5p-9qfh changed 2026-09-10CC-BY-4.0
NVDCVE-2024-22411 changed 2026-06-17Public domain