Sherk Custom Post Type Displays Stored Cross-Site Scripting Vulnerability
Vulnerability
A stored cross-site scripting vulnerability has been identified in the Sherk Custom Post Type Displays plugin for WordPress, affecting all versions through 1.2.1. The issue arises from inadequate input sanitization and output escaping on the 'title' attribute of the 'sherkcptdisplays' shortcode. This vulnerability allows authenticated attackers with Contributor-level access and above to inject arbitrary 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 use the 'sherkcptdisplays' shortcode and include a script in the 'title' attribute. Once the shortcode is processed, the injected script will be executed 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.
