CVE-2019-14470
Cosenary Instagram-PHP-API contains reflected XSS vulnerability
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- WordPress Plugin UserPro 4.9.32 - Cross-Site Scripting2019-08-26 · webapps · php
Impact
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>`
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | cosenary/instagram | <= 2.3 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Instagram-Php-Api Project | Instagram-Php-Api | All versions |
| Userproplugin | User Pro | through 4.9.32 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html
- https://github.com/cosenary/Instagram-PHP-API/commits/master
- https://wpvulndb.com/vulnerabilities/9815
- https://www.exploit-db.com/exploits/47304
- https://github.com/advisories/GHSA-gcv6-2v9c-rj48
- https://nvd.nist.gov/vuln/detail/CVE-2019-14470
- https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36