Quick PayPal Payments: Payment Button & Form <= 6.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'form' Shortcode Attribute
What fixes it
No source in this snapshot names a fixed version.
Description
The Quick PayPal Payments: Payment Button & Form plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'form' parameter in all versions up to, and including, 6.0.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Because wp_kses_post strips only HTML tags, a quote-breaking payload containing no angle brackets survives post save intact, and the injected script fires for every viewer of the post — including higher-privileged Editors and Administrators who routinely preview a Contributor's pending content.
Text from CVE List
Affected versions 1
- Quick PayPal Payments: Payment Button & Formaffected: all versions through 6.0.4CVE List
References 7
- wordfence.com/threat-intel/vulnerabilities/id/203f850e-1eed-4c49-b733-4ac2ce9b6772?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/quick-paypal-payments/tags/6.0.4/legacy/quick-paypal-payments.php#L1546Referencevia CVE List
- plugins.trac.wordpress.org/browser/quick-paypal-payments/tags/6.0.4/legacy/quick-paypal-payments.php#L1554Referencevia CVE List
- plugins.trac.wordpress.org/browser/quick-paypal-payments/tags/6.0.4/legacy/quick-paypal-payments.php#L603Referencevia CVE List
- plugins.trac.wordpress.org/browser/quick-paypal-payments/tags/6.0.4/legacy/quick-paypal-payments.php#L826Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3746507Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3746507/quick-paypal-payments/trunk/legacy/quick-paypal-payments.phpReferencevia CVE List