ReactPress <= 3.4.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'permalink' Parameter
What fixes it
No source in this snapshot names a fixed version.
Description
The ReactPress – Create React App for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'permalink' parameter in all versions up to, and including, 3.4.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because the permalink parameter is only passed through sanitize_url(), which does not prevent fetching attacker-controlled remote URLs whose response body — including script tags and event-handler attributes — is written verbatim to disk via file_put_contents().
Text from CVE List
Affected versions 1
- ReactPress – Create React App for WordPressaffected: all versions through 3.4.0CVE List
References 5
- wordfence.com/threat-intel/vulnerabilities/id/eaea5a3b-6565-4aa0-864d-5a2b764075fd?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/reactpress/tags/3.4.0/admin/Controller.php#L339Referencevia CVE List
- plugins.trac.wordpress.org/browser/reactpress/tags/3.4.0/admin/Controller.php#L201Referencevia CVE List
- plugins.trac.wordpress.org/browser/reactpress/tags/3.4.0/admin/Admin.php#L220Referencevia CVE List
- plugins.trac.wordpress.org/browser/reactpress/tags/3.4.0/includes/Core.php#L153Referencevia CVE List