~ / search / GHSA-gcv6-2v9c-rj48

GHSA-gcv6-2v9c-rj48

Cosenary Instagram-PHP-API contains reflected XSS vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2019-14470

Packages

EcosystemPackageAffectedFixed in
Packagist cosenary/instagram <= 2.3 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

cosenary Instagram-PHP-API (aka Instagram PHP API V2), used in the UserPro plugin through 4.9.32 for WordPress, is vulnerable to cross-site scripting via the [example/success.php](https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L36 ) error_description parameter. Vulnerable code: ```php if (isset($_GET['error'])) { echo 'An error occurred: ' . $_GET['error_description']; } ``` Proof-of-Concept: `https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=&error_description=<PAYLOAD>`

References

External links from the advisory. They lead to third-party sites.