Vulnerability · Published Jan 16, 2024 · Assigned by GitHub_M

CVE-2024-22411Cross site scripting in Action messages on Avo

Medium 6.5

In plain English

A medium-severity cross-site scripting in avo from avo-hq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.7%top 46.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsavo3.3.0GHSA-g8vp-2v5p-9qfh
RubyGemsavo2.47.0GHSA-g8vp-2v5p-9qfh

Affected products (as reported)

VendorProductVersions
avo-hq avo >= 3.0.0.beta1, < 3.3.0< 2.47.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

References