WP Manifestindependent plugin directory

Install

Download cwp-snippets-2.2.0.zip From the v2.2.0 release on GitHub, Aug 27, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/rgcdata/cwp-snippets/releases/download/v2.2.0/cwp-snippets-2.2.0.zip
Updates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.

CWP Snippets is a free WordPress plugin for building and managing FileMaker-powered web solutions. It provides reusable snippets, templates, functions, scripts, styles, import/export tools, committed revision history, and FileMaker Data API helpers.

Hosted-site integration

Version 2.1 adds provider-neutral native WP-CLI commands inside the plugin. See Hosted WordPress and WP-CLI for the command contract and remote-host workflow.

New installations can self-describe and verify the integration with wp cwp-snippets capabilities, schema, doctor, and smoke-test. These checks keep SSH configuration outside the plugin while making the plugin-side contract portable across hosting providers.

Installation

  1. Download the latest cwp-snippets-X.Y.Z.zip from the applicable GitHub release.
  2. In WordPress, open Plugins > Add Plugin > Upload Plugin.
  3. Upload the ZIP, install it, and activate CWP Snippets.
  4. Open CWP Snippets > Settings to configure the FileMaker connection and integration security.

The release ZIP contains one top-level cwp-snippets directory and can be installed directly through WordPress.

Documentation

Documentation is included in the plugin and is available under CWP Snippets > Documentation after activation.

Releases

Installable packages and release notes are published on the GitHub Releases page.

License

CWP Snippets is free software licensed under the GNU General Public License, version 2 or later. See LICENSE.

Releases

3 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v2.2.0 latest
Aug 27, 2026 1mo ago
cwp-snippets-2.2.0.zip
5
Aug 21, 2026 2mo ago
cwp-snippets-2.1.0.zip
2
Aug 17, 2026 2mo ago
cwp-snippets-2.0.0.zip
2
D+ grade

Security

CWP Snippets 2.2.0 · audited by WP Registry

High-severity findings.

2 high
Audited release
2.2.0
Findings
2
Worst severity
high
Content hash
1ba886ccc1c81f02e21596a8…

Findings

  • high Legacy integration mode authorizes unauthenticated cache-clear and download-proxy requests by default

    auth_bypass

    Activation writes cwp_snippets_legacy_integration_mode=1. cwp_is_integration_request_authorized() treats a missing token as success whenever that option is '1', even if a 64-byte API token is already stored. That helper is the only gate on nopriv AJAX cwp_clear_cache, nopriv AJAX fm_download, and REST POST /cwp/v1/clear-cache. An unauthenticated visitor who omits credentials can therefore wipe transients or ask the site to fetch an arbitrary HTTPS URL (wp_http_validate_url / wp_safe_remote_get for public hosts; allowlisted private FileMaker hosts skip that SSRF filter) and stream the body as a download. The admin UI itself labels this a security warning, but the default is on.

    includes/functions.php:164-239

    Recommendation

    Default legacy mode to off on new installs; require the configured token (or manage_options) for every integration route; reject empty tokens even when legacy is temporarily enabled.

  • high Unauthenticated FileMaker download handler is an open HTTPS file proxy

    ssrf

    handle_filemaker_download() is registered for wp_ajax_nopriv_fm_download and authorizes via the same legacy-mode helper. The attacker supplies url and filename. Public HTTPS URLs pass wp_http_validate_url and are fetched with wp_safe_remote_get (up to 25MB) then echoed with Content-Disposition attachment. Combined with default-on legacy mode this is a world-reachable open proxy. If an admin later allowlists private FileMaker hosts, the same unauth path skips wp_http_validate_url and uses wp_remote_get with redirection=0 against those hosts.

    includes/functions.php:1131-1217

    Recommendation

    Require a valid integration token (never legacy empty-token) on fm_download; restrict URLs to the configured host allowlist only; do not stream arbitrary public HTTPS bodies to unauthenticated clients.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.