ADVISORIES

GitHub Advisory Database

GHSA-c49v-35ff-q9f7

DotPlant2 Improper Restriction of XML External Entity Reference

Details

An issue was discovered in DotPlant2 before 2020-09-14. In class Pay2PayPayment in payment/Pay2PayPayment.php, there is an XXE vulnerability in the checkResult function. The user input ($_POST['xml']) is used for simplexml_load_string without sanitization. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Affected packages

EcosystemPackageAffected versions
Packagistdevgroup/dotplant
All versions before 2020-09-14 (fixed in 2020-09-14)

References