Strategic Overview
- Status
- Patched in 1.67
- Affected Plugin
- Share This Image
- Affected Version
< 1.67- CVSS
- 6.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2022-4974
At a glance
CVE-2022-4974 is a medium-severity Missing Authorization vulnerability in the Share This Image WordPress plugin, affecting versions < 1.67. It carries a CVSS score of 6.3 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 1.67; sites on affected versions should update now. Disclosed March 2022.
Vulnerability Overview
The 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 Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
Reaching this weakness in Share This Image < 1.67 takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Share This Image the fix is 1.67: builds < 1.67 are affected, anything from 1.67 onward is not.
Remediation
Update to version 1.67, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Share This Image 1.67 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Share This Image
- 7.2CVE-2026-42641: Share This Image <= 2.14 Server-Side Request Forgery
CVE-2026-42641 - 7.2CVE-2024-8761: Share This Image <= 2.03 Open Redirect
CVE-2024-8761 - 6.4CVE-2024-8363: Share This Image <= 2.02 Stored Cross-Site Scripting
CVE-2024-8363 - 6.4CVE-2024-8108: Share This Image <= 2.01 Stored Cross-Site Scripting
CVE-2024-8108 - 6.1CVE-2024-13362: Freemius <= 2.10.1 Reflected DOM-Based XSS
CVE-2024-13362 - 6.1CVE-2024-47326: Share This Image <= 2.01 Reflected XSS
CVE-2024-47326 - 6.1CVE-2023-33999: Freemius SDK <= 2.5.9 Reflected Cross-Site Scripting
CVE-2023-33999 - 6.1CVE-2017-18015: Share This Image < 1.04 Cross-Site Scripting
CVE-2017-18015
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C