CVE-2017-6213 paypal/invoice-sdk-php reflected XSS

Medium 5.4 Published Updated

Reflected XSS in the PayPal Invoice SDK PHP library allows attackers to execute arbitrary code via the permToken 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-6213?

CVE-2017-6213 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/invoice-sdk-php is vulnerable to reflected XSS in samples/permissions.php via the permToken parameter, resulting in code execution.

Weakness: CWE-79

Which versions are affected by CVE-2017-6213?

2 open source packages ship an affected version, including paypal/invoice-sdk-php. It affects 1 product.

PackageAffectedFixed in
paypal/invoice-sdk-php PackagistAll versions to 3.9.0None
paypal/invoice-sdk-php PackagistAll versions to 3.9.0None

Products include Paypal Php Invoice Sdk.

How do I fix CVE-2017-6213?

No fix has been published for CVE-2017-6213 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-6213 being exploited?

There is no known exploitation of CVE-2017-6213 in the wild and no public exploit code.

Sources

Also known as GHSA-626w-hmpw-x74j.

Is CVE-2017-6213 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free