If you are on PrestaShop 1.7 or 8+, the vulnerability is not present. Module PayPal Official 3.12.0 to 3.16.3 are impacted.
We have developed a module that detects if the vulnerability is present and can patch the file.
https://github.com/202ecommerce/paypal/security/advisories/GHSA-66pc-8gh8-mx7m