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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2023-04-19T17:28:30.937Z
- Modified: 2026-06-17T05:55:08.963Z
- Also known as: GHSA-cqf3-vpx7-rxhw
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pay-rails pay: < 6.3.2
- pay (RubyGems): before 6.3.2
- pay_project pay: before 6.3.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/pay-rails/pay/security/advisories/GHSA-cqf3-vpx7-rxhw> (vendor-advisory, web)
- <https://github.com/pay-rails/pay/commit/5d6283a24062bd272a524ec48415f536a67ad57f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30614> (advisory)
- <https://github.com/pay-rails/pay/commit/c067771d8c7514acde4b948b474caf054bb0e25d> (web)
- <https://github.com/pay-rails/pay> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pay/CVE-2023-30614.yml> (web)

## Sources

- CVE List: [CVE-2023-30614](https://www.cve.org/CVERecord?id=CVE-2023-30614), CVE Terms of Use, modified 2025-02-05
- GitHub Advisory Database: [GHSA-cqf3-vpx7-rxhw](https://github.com/advisories/GHSA-cqf3-vpx7-rxhw), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-30614](https://nvd.nist.gov/vuln/detail/CVE-2023-30614), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-30614 · Whole record: https://cve.day/CVE-2023-30614.json · Rebuilt by cve.day 2026-11-25T22:58:23.646Z
