PayPal Shortcode WordPress Plugin Stored Cross-Site Scripting Vulnerability
Vulnerability
A stored cross-site scripting vulnerability has been identified in the PayPal Shortcode plugin for WordPress, affecting all versions through 0.3. The issue arises from inadequate input sanitization and output escaping of user-supplied shortcode attributes, specifically 'amount' and 'name'. The vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary web scripts into pages, which are executed when users access the affected pages.
Impact
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.
Reproduction
To reproduce this vulnerability, an authenticated user with Contributor-level access or higher can create a shortcode using the 'amount' and 'name' attributes. The shortcode should be inserted into a post or page. Once published, the injected script will execute when the page is viewed.
Remediation
No known patch is available. It is recommended to uninstall the affected plugin and find a replacement.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
