Advisory

GHSA-cqf3-vpx7-rxhw

Also known as: CVE-2023-30614

Summary

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Pay

Details

Impact
A payments info page of Pay is susceptible to reflected Cross-site scripting. An attacker could create a working URL that renders a javascript link to a user on a Rails application that integrates Pay. This URL could be distributed via email to specifically target certain individuals. If the targeted application contains a functionality to submit user-generated content (such as comments) the attacker could even distribute the URL using that functionality.

Patches
This has been patched in version 6.3.2 and above.

Pay will now sanitize the back parameter and only permit relative paths.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-04-20 21:28 UTC
Modified
2024-02-16 08:10 UTC

Affected packages and fixes

pay

RubyGems · All systems

Affected

  • introduced 0, fixed 6.3.2 (ecosystem)

Fixed versions

6.3.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences