Versions 2.x.x and earlier of paypal-ipn are affected by a validation bypass vulnerability.
paypal-ipn uses the test_ipn parameter (which is set by the PayPal IPN simulator) to determine if it should use the production PayPal site or the sandbox.
A motivated attacker could craft a request string using the simulator to fool the application into entering the sandbox mode, potentially allowing purchases without valid payment.
Upgrade to version 3.0.0 or later.
{
"cwe_ids": [
"CWE-287"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:08:20Z",
"nvd_published_at": null,
"severity": "MODERATE"
}