CVE-2017-6215 paypal/permissions-sdk-php reflected Cross-site Scripting (XSS)
Reflected XSS in the PayPal permissions SDK allows attackers to execute arbitrary code via the verification_code parameter.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2017-6215?
CVE-2017-6215 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Aug 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
paypal/permissions-sdk-php is vulnerable to reflected XSS in the samples/GetAccessToken.php verification_code parameter, resulting in code execution.
Weakness: CWE-79
Which versions are affected by CVE-2017-6215?
2 open source packages ship an affected version, including paypal/permissions-sdk-php. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paypal/permissions-sdk-php Packagist | All versions to 3.9.1 | None |
paypal/permissions-sdk-php Packagist | All versions to 3.9.1 | None |
Products include Paypal Php Permissions Sdk.
How do I fix CVE-2017-6215?
No fix has been published for CVE-2017-6215 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-6215 being exploited?
There is no known exploitation of CVE-2017-6215 in the wild and no public exploit code.
Sources
Also known as GHSA-2qfv-wwfx-fh34.