Loading...
Skip to main content

CVE-2023-34103 — Vulnerability in avo — CVE Details

HIGH

avo vulnerable to Stored XSS (Cross Site Scripting) in html content based fields

Published June 6, 2023Updated September 10, 2026Source: osv

Summary

### Summary Some avo fields are vulnerable to XSS when rendering html based content. ### Details During the analysis of the web application, a rendered field was discovered that did not filter JS / HTML tags in a safe way and can be abused to execute js code on a client side. The trix field uses the trix editor in the backend to edit rich text data which basically operates with html tags. To display the stored data in a rendered view, the HasHTMLAttributes concern is used. This can be exploited by an attacker to store javascript code in any trix field by intercepting the request and modifying the post data, as the trix editor does not allow adding custom html or js tags on the frontend. ### PoC ![image](https://user-images.githubusercontent.com/26464774/243434868-47857054-9b20-437f-842f-0750d53c9b0e.png) _Adding javascript in the post request which is used when editing a "post" resource (body is declared as a trix field)_ ![image](https://user-images.githubusercontent.com/26464774/243435009-948593a0-5179-4368-977c-ec36d2373925.png) _Successful execution of JS code on live demo environment_ ### Impact Unlike non-persistent XSS, persistent XSS does not require a social engineering phase. Victims of this attack do not need to be tricked into clicking a link or something like that. However, by exploiting such a vulnerability on this particular target, attackers may be able to gain access to accounts that require special protection, such as administrators of the web service, which is what Avo is primarily intended to be used for. ### Recommendation The content of a field that contains html code should be sanitized using the according rails helper which uses a whitelist of known-safe tags and attributes. Also this security consideration should be applied to the “as_html” attribute as well because it may contain user controlled input as well. https://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html

Advisory Timeline

  • First published June 6, 2023 (1224 days ago).
  • Last revised September 10, 2026 — 1192 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update avo to 2.33.3 or later
gem install avo -v 2.33.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: rubygems (1).

PackageEcosystemAffectedFixed In
avo
rubygems
3.0.0.pre1, 3.0.0.pre10, 3.0.0.pre11, 3.0.0.pre12 (+8 more)Range-based data available
avo
rubygems
0.2.0, 0.2.1, 0.2.2, 0.2.3 (+312 more)2.33.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2023-34103?
avo vulnerable to Stored XSS (Cross Site Scripting) in html content based fields This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.3/10).
How do I check if my project is affected by CVE-2023-34103?
CVE-2023-34103 affects avo. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-34103 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.3

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-5cr9-5jx3-2g39

Related CVEs

  • CVE-2026-55518
    CRITICAL

    Avo: Missing Authorization in Avo Association Attach Endpoint Allows Unauthorized Relationship Manipulation and Privilege Escalation

  • CVE-2023-34102
    HIGH

    avo possible unsafe reflection / partial DoS vulnerability

  • CVE-2024-22191
    HIGH

    avo vulnerable to stored cross-site scripting (XSS) in key_value field

  • CVE-2026-42205
    HIGH

    Avo: Broken Access Control Through Unauthorized Execution of Arbitrary Action Classes Across Resources

  • CVE-2026-77601
    HIGH

    OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting

  • CVE-2026-33209
    MEDIUM

    Avo has a XSS vulnerability on `return_to` param

  • CVE-2024-22411
    MEDIUM

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

  • CVE-2026-53769
    MEDIUM

    Avo: Direct attachment upload endpoint lacks upload authorization and bypasses field-level upload policy

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies