VDB
Sign up
MEDIUM6.5

GHSA-g8vp-2v5p-9qfh

Cross-site scripting (XSS) in Action messages on Avo

Quick fix

GHSA-g8vp-2v5p-9qfh — avo: upgrade to the fixed version with the command below.

bundle update avo

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/avo
Introduced in: 3.0.0.beta1Fixed in: 3.3.0
Fixbundle update avo
RubyGems/avo
Introduced in: 0Fixed in: 2.47.0
Fixbundle update avo

References