CVE-2019-14470
MEDIUM6.1EPSS 23.5%Cosenary Instagram-PHP-API contains reflected XSS vulnerability
Published: 5/24/2022Modified: 12/2/2024
Also known as:GHSA-gcv6-2v9c-rj48
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=<PAYLOAD>`
Affected packages (1)
- Packagist/cosenary/instagramfrom 0, <= 2.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2019-14470
- PATCHhttps://github.com/cosenary/Instagram-PHP-API
- WEBhttp://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html
- WEBhttps://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36
- WEBhttps://wpvulndb.com/vulnerabilities/9815
- WEBhttps://www.exploit-db.com/exploits/47304