ReactPress source code

By rockiger, on WordPress.org since 2021. 2,000+ active installs.

Browse code Download zip

ReactPress enables you to easily create, build and deploy React apps into your existing WordPress sites. Use your React knowledge to create single page applications for your WordPress customers. Below is its source code for every one of its 24 releases, what changed in the latest one, and how often it ships.

What changed in 3.4.2

Released Nov 18, 2026, 3 weeks after 3.4.1
  • Security: Fixed exposure of password-protected content and the post password in the reactPress JavaScript object. Only whitelisted post fields are passed to apps. Thanks to kta1kri for reporting this issue.
  • Security: The app index.html is now downloaded as an anonymous visitor. Admin bar, nonces and user names no longer end up in the public file.
  • Security: Hardened the index.html sanitizer. All inline scripts are removed, script files are only kept from wp-includes, plugins and themes, SVG animation elements, CSS @import, off-site srcset images and data: URLs (except raster images) are removed.
  • Security: Fixed script injection by authors through the former “var reactPress” replacement in index.html.
  • App names with uppercase letters are supported.
  • Fixed a PHP warning when an app has no vite.config file.

14 files changed since 3.4.1: 12 modified, 1 added, 1 removed.

And 4 more.

Compare 3.4.1 with 3.4.2

Release history

24 releases since February 2021
  1. 3.4.2 Nov 18, 2026 Security: Fixed exposure of password-protected content and the post password in the reactPress JavaScript object. Only whitelisted post fields are passed to apps. Thanks to kta1kri for reporting this issue.
  2. 3.4.1 Oct 23, 2026 Security fix for CVE-2026-92712. Admin AJAX requests now require an administrator and a valid nonce.
  3. 3.4.0 Apr 7, 2025 Improved asset filtering (@dylanlawrence)
  4. 3.3.0 Sep 23, 2024 Recommend the user to use create-vite instead of create-react-app
  5. 3.2.2 Feb 24, 2024 Update the React dev environment even if the ReactPress app is on a private page. Thanks to @BlairCooper
Full ReactPress changelog with diffs

Source of 3.4.2

61 files
Browse all ReactPress 3.4.2 files Browse trunk