GitHub Advisoryadvisory · Packagist
GHSA-gcv6-2v9c-rj48 Cosenary Instagram-PHP-API contains reflected XSS vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2019-14470
- Ecosystem
- Packagist
- Packages
- cosenary/instagram
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Reviewed
- 2023-07-07
Affected packages
• Packagist cosenary/instagram: <= 2.3 (no fix yet)
Description
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=`
Related
Alias · CVE (1)
- CVE-2019-14470 cosenary Instagram-PHP-API (aka Instagram PHP API V2), as used in the UserPro plugin through 4.9.32 for WordPress, has XSS via the… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-14470 advisory
- https://github.com/cosenary/Instagram-PHP-API package
- https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36 web
- https://wpvulndb.com/vulnerabilities/9815 web
- https://www.exploit-db.com/exploits/47304 web
- http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html web