Description
The Woostify plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.5.0 This is due to insufficient input sanitization and output escaping in the bundled Lity.js lightbox library, where user-controlled input from the href attribute is concatenated directly into a jQuery HTML string without sanitization. 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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
duongancol Woostify
Default version status: unaffected
0 to ≤ 2.5.0affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/883ad6f7-e701-4708-b5d4-69b72ff38499?source=cve ↗
- https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L142 ↗
- https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L611 ↗
- https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L635 ↗
- https://themes.trac.wordpress.org/browser/woostify/2.4.6/assets/js/lity.js#L163 ↗
- https://github.com/woostify/woostify/commit/a4669598aa8c5de344dda6c3d42389a3c2e61adc ↗
- https://themes.trac.wordpress.org/changeset?old_path=%2Fwoostify/2.5.0&new_path=%2Fwoostify/2.5.1 ↗