VYPR
Moderate severityNVD Advisory· Published Jul 10, 2019· Updated Aug 5, 2024

CVE-2017-6217

CVE-2017-6217

Description

Reflected XSS vulnerability in PayPal Adaptive Payments SDK for PHP v3.9.2 allows code execution via SetPaymentOptions.php.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Reflected XSS vulnerability in PayPal Adaptive Payments SDK for PHP v3.9.2 allows code execution via SetPaymentOptions.php.

Vulnerability

Overview

The PayPal Adaptive Payments SDK for PHP version 3.9.2 contains a reflected cross-site scripting (XSS) vulnerability in the SetPaymentOptions.php file [1]. This flaw allows an attacker to inject arbitrary HTML and JavaScript into the application's response, leading to client-side code execution.

Exploitation

The vulnerability is reflected, meaning the attacker must craft a malicious URL containing the XSS payload and convince a victim to click it. No prior authentication is required for the XSS to execute in the victim's browser. The SetPaymentOptions.php endpoint does not properly sanitize user input, enabling the injection.

Impact

Successful exploitation can result in arbitrary code execution within the user's browser session. This could allow the attacker to steal sensitive information such as session cookies, perform actions on behalf of the user, or redirect the user to malicious websites.

Mitigation

The issue was reported on the project's GitHub repository [1]. Users are advised to upgrade to a patched version or apply input validation/sanitization as a workaround. The SDK may be deprecated; consult the vendor for current support.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
paypal/adaptivepayments-sdk-phpPackagist
<= 3.9.2

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.