Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1nY3Y2LTJ2OWMtcmo0OM4AAh9v

Cosenary Instagram-PHP-API contains reflected XSS vulnerability

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>

Permalink: https://github.com/advisories/GHSA-gcv6-2v9c-rj48
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nY3Y2LTJ2OWMtcmo0OM4AAh9v
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: 11 months ago


CVSS Score: 6.1
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-gcv6-2v9c-rj48, CVE-2019-14470
References: Repository: https://github.com/cosenary/Instagram-PHP-API
Blast Radius: 12.6

Affected Packages

packagist:cosenary/instagram
Dependent packages: 12
Dependent repositories: 118
Downloads: 837,730 total
Affected Version Ranges: <= 2.3
No known fixed version
All affected versions: