Woostify WordPress Plugin Stored Cross-Site Scripting Vulnerability
Vulnerability
A stored cross-site scripting vulnerability has been identified in the Woostify plugin for WordPress, affecting versions through 2.5.0. The issue arises from inadequate input sanitization and output escaping in the included Lity.js lightbox library. User-controlled input from the href attribute is directly concatenated into a jQuery HTML string without proper sanitization. This vulnerability allows authenticated attackers with Contributor-level access or higher to inject arbitrary scripts into pages, which are executed when users access the affected page.
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 inject scripts through the data-lity attribute in a Custom HTML block. The injected scripts will be executed when the page is viewed.
Remediation
Users are advised to update the Woostify plugin to version 2.5.1 or later.
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.
