6.1medium
Cosenary Instagram-PHP-API contains reflected XSS vulnerability
- Severity
- 6.1medium CVSS:3.0 by NVD
- Exploit likelihood
- 83.0% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-gcv6-2v9c-rj48
Description
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 example/success.php error_description parameter.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| cosenary/instagram (Packagist) | up to 2.3 | GitHub Advisory Database |
| instagram-php-api_project instagram-php-api | Not specified | NVD |
| userproplugin user_pro | up to 4.9.32 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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 example/success.php error_description parameter.
GitHub Advisory Database
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 error_description parameter.
Vulnerable code:
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>
NVD (es)
cosenary Instagram-PHP-API (también se conoce como Instagram PHP API V2), como es usado en el plugin UserPro versiones hasta 4.9.32 para WordPress, presenta una vulnerabilidad de tipo XSS por medio del parámetro error_description del archivo example/success.php.
References
| https://github.com/cosenary/Instagram-PHP-API/commits/master | third-party-advisory | |
| http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html | exploit, third-party-advisory, vdb-entry, web | |
| https://wpvulndb.com/vulnerabilities/9815 | third-party-advisory, web | |
| https://www.exploit-db.com/exploits/47304 | exploit, third-party-advisory, vdb-entry, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-14470 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gcv6-2v9c-rj48 changed 2024-12-02 | CC-BY-4.0 |
| NVD | CVE-2019-14470 changed 2026-06-17 | Public domain |