Lucene search

K
githubGitHub Advisory DatabaseGHSA-CQF3-VPX7-RXHW
HistoryApr 20, 2023 - 9:28 p.m.

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

2023-04-2021:28:48
CWE-79
GitHub Advisory Database
github.com
7
pay
reflected cross-site scripting
version 6.3.2
sanitize back parameter
relative paths
rail application

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

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

EPSS

0.001

Percentile

36.1%

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.

Affected configurations

Vulners
Node
payRange<6.3.2
VendorProductVersionCPE
*pay*cpe:2.3:a:*:pay:*:*:*:*:*:*:*:*

CVSS3

7.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

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

EPSS

0.001

Percentile

36.1%

Related for GHSA-CQF3-VPX7-RXHW