CVE-2024-3065
No known patch is available for this vulnerability.
The affected plugin has been removed from the WordPress.org directory (reason: Security Issue), and no patched version is being distributed through the official directory. If you have the affected software installed, you should uninstall or replace it rather than wait for an update.
Description
The PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled. CVE-2024-5447 may be a duplicate of this issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode plugin up to 1.7 allows admin-level attackers to inject scripts on multisite or unfiltered_html-disabled installations.
Vulnerability
The PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to and including 1.7. This is due to insufficient input sanitization and output escaping. The vulnerability is only exploitable on multi-site installations or installations where the unfiltered_html capability has been disabled. The plugin has been closed and removed from the WordPress.org plugin directory as of May 20, 2024, citing a security issue [1].
Exploitation
An attacker must have administrator-level permissions (or above) to exploit this vulnerability. The attacker can inject arbitrary web scripts through the plugin's admin settings. Once saved, the injected script will execute whenever any user accesses the affected page. No additional user interaction is required beyond the attacker saving the malicious settings.
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of any user visiting the injected page. This can lead to session hijacking, defacement, redirection to malicious sites, or other client-side attacks. The attacker already has admin-level access, but the XSS can target lower-privileged users or visitors.
Mitigation
The plugin has been closed and removed from the WordPress.org plugin directory as of May 20, 2024, and no patched version is available [1]. Users who have the plugin installed should uninstall it immediately. There is no workaround other than complete removal of the plugin.
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: <=1.7
Patches
0paypal-pay-buy-donation-and-cart-buttons-shortcodeThis plugin has been removed from the WordPress.org directory on 2024-05-20 (reason: Security Issue). No patched version is being distributed through the official directory. Users who have it installed should uninstall it.
Source: api.wordpress.org · directory page
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.