{"id":"GHSA-gcv6-2v9c-rj48","aliases":["CVE-2019-14470"],"title":"Cosenary Instagram-PHP-API contains reflected XSS vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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\n) error_description parameter.\n\nVulnerable code:\n\n```php\n    if (isset($_GET['error'])) {\n        echo 'An error occurred: ' . $_GET['error_description'];\n    }\n```\n\nProof-of-Concept:\n\n`https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=&error_description=<PAYLOAD>`","severity":"medium","score":6.1,"published":"2022-05-24T16:55:25.000Z","modified":"2024-12-02T05:41:52.983Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cosenary/instagram","sources":[{"name":"OSV · GHSA-gcv6-2v9c-rj48","url":"https://osv.dev/vulnerability/GHSA-gcv6-2v9c-rj48"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.3"}],"type":"ECOSYSTEM"}],"versions":["v2.2","v2.3"],"fixed":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2019-14470","https://github.com/cosenary/Instagram-PHP-API","https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36","https://wpvulndb.com/vulnerabilities/9815","https://www.exploit-db.com/exploits/47304","http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html"],"sources":[{"name":"OSV","id":"GHSA-gcv6-2v9c-rj48","modified":"2024-12-02T05:41:52.983279Z","url":"https://osv.dev/vulnerability/GHSA-gcv6-2v9c-rj48"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T00:35:31.531Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[{"source":"Exploit-DB","id":"47304","url":"https://www.exploit-db.com/exploits/47304","checkedAt":"2026-10-29T00:00:35.338Z"}]}