CVE-2022-4974
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe Freemius SDK, as used by hundreds of WordPress plugin and theme developers, was vulnerable to Cross-Site Request Forgery and Information disclosure due to missing capability checks and nonce protection on the _get_debug_log, _get_db_option, and the _set_db_option functions in versions up to, and including 2.4.2. Any WordPress plugin or theme running a version of Freemius less than 2.4.3 is vulnerable.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Freemius SDK versions up to 2.4.2 lacked proper authorization checks and nonce validation on the _get_debug_log, _get_db_option, and _set_db_option AJAX functions, enabling CSRF attacks and unauthorized access to debug logs and database options.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Freemius SDK installationSearch your WordPress plugin and theme directories for the freemius.php file or freemius-sdk directory. Common paths include wp-content/plugins/*/includes/freemius/ or within individual plugin/theme folders.Affected if The Freemius SDK is present in any installed plugin or theme.
-
Determine Freemius SDK versionOpen the main freemius.php file and locate the version constant (FS__VERSION or similar). Compare this version number to the affected range: versions 2.4.2 and below.Affected if The installed version is 2.4.2 or lower.
-
Check for vulnerable AJAX endpointsIn the freemius.php or related AJAX handler files, search for the action names: _get_debug_log, _get_db_option, and _set_db_option. Verify these are registered as AJAX handlers.Affected if Any of these three AJAX actions are registered and accessible.
-
Verify nonce/authorization implementationExamine the code handling the three AJAX endpoints. Look for wp_verify_nonce or current_user_can checks within the callback functions for _get_debug_log, _get_db_option, and _set_db_option.Affected if No nonce verification or authorization check (current_user_can) is found in these handlers.
-
Test AJAX endpoint accessibilityIf you have admin access, attempt a direct POST request to wp-admin/admin-ajax.php with action=freemius_get_debug_log (or the equivalent endpoint name used by the SDK). Check if the request succeeds without providing a valid nonce.Affected if The AJAX call returns success or debug data without requiring proper authentication/nonce.
Your environment is affected if any plugin or theme on your WordPress site uses the Freemius SDK version 2.4.2 or lower with the vulnerable AJAX endpoints exposed and lacking nonce/authorization checks.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate Freemius SDK to version 2.4.3 or higher in all affected WordPress plugins and themes.
Freemius SDK 2.4.3
- Identify WordPress plugins and themes that use the Freemius SDK by checking plugin/theme source code for the freemius directory or require statement
- For each affected plugin or theme, check if an update is available from the developer
- Update all affected plugins and themes to their latest versions, which should include Freemius SDK 2.4.3 or higher
- If a plugin or theme developer has not released an update, consider contacting the developer for a patch or find an alternative plugin/theme
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation2.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,552.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-4974 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-4974 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data