Advisory

GHSA-gcv6-2v9c-rj48

Also known as: CVE-2019-14470

Summary

Cosenary Instagram-PHP-API contains reflected XSS vulnerability

Details

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:

    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>

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 16:55 UTC
Modified
2024-12-02 05:41 UTC

Affected packages and fixes

cosenary/instagram

Packagist · All systems

Affected

  • introduced 0, last affected 2.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences