GitHub Advisoryadvisory · RubyGems

GHSA-g8vp-2v5p-9qfh Cross-site scripting (XSS) in Action messages on Avo

MEDIUM Published 2024-01-17 Modified 2024-01-19 Official page ↗
Aliases
CVE-2024-22411
Ecosystem
RubyGems
Packages
avo
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Weaknesses
CWE-79
Reviewed
2024-01-17

Affected packages

• RubyGems avo: >= 3.0.0.beta1, < 3.3.0 → fixed in 3.3.0 • RubyGems avo: < 2.47.0 → fixed in 2.47.0

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.

Related

Alias · CVE (1)

  • CVE-2024-22411 Avo is a framework to create admin panels for Ruby on Rails apps. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References