Description
The Slim Jetpack plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'g<PAGE_ID>-website (Website contact-field)' parameter in all versions up to, and including, 2.7.0.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nonce and authentication checks on form submission are only enforced for logged-in users, allowing unauthenticated visitors to store payloads via any page containing the [contact-form] shortcode.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
wingerspeed Slim Jetpack
Default version status: unaffected
0 to ≤ 2.7.0.1affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9f66de2d-623d-4009-b05e-c764cecb5d91?source=cve ↗
- https://plugins.trac.wordpress.org/browser/slimjetpack/tags/2.7.0.1/modules/contact-form/admin.php#L232 ↗
- https://plugins.trac.wordpress.org/browser/slimjetpack/tags/2.7.0.1/modules/contact-form/grunion-contact-form.php#L1277 ↗
- https://plugins.trac.wordpress.org/browser/slimjetpack/tags/2.7.0.1/modules/contact-form/grunion-contact-form.php#L138 ↗