Social Share, Social Login and Social Comments < 7.13.30 - Reflected Cross-Site Scripting
Strategic Overview
- Status
- Patched in 7.13.30
- Affected Version
< 7.13.30- CVSS
- 6.1Medium
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2021-24987
At a glance
CVE-2021-24987 is a medium-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the Social Share, Social Login and Social Comments Plugin WordPress plugin, affecting versions < 7.13.30. It carries a CVSS score of 6.1 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 7.13.30; sites on affected versions should update now. Disclosed March 2022, reported by Krzysztof Zając.
Vulnerability Overview
The Social Share, Social Login and Social Comments Plugin WordPress plugin before 7.13.30 does not sanitise and escape the urls parameter in its the_champ_sharing_count AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response, leading to a Reflected Cross-Site Scripting issue.
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 privileges on the target site.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Reaching this weakness in Social Share, Social Login and Social Comments Plugin < 7.13.30 takes a caller who can reach the endpoint. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For Social Share, Social Login and Social Comments Plugin the fix is 7.13.30: builds < 7.13.30 are affected, anything from 7.13.30 onward is not.
Remediation
Update to version 7.13.30, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to Social Share, Social Login and Social Comments Plugin: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Social Share, Social Login and Social Comments Plugin 7.13.30 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Social Share, Social Login and Social Comments Plugin – Super Socializer
- 9.8Social Share, Social Login and Social Comments Authentication Bypass
- 8.1CVE-2024-9946: Social Share Authentication Bypass
CVE-2024-9946 - 6.1CVE-2026-11798: Social Share Reflected XSS
CVE-2026-11798 - 6.1CVE-2023-2779: Social Share Reflected XSS
CVE-2023-2779 - 5.3CVE-2026-65542: Social Share Missing Authorization
CVE-2026-65542 - 5.3CVE-2024-13230: Social Share Limited SQL Injection
CVE-2024-13230 - 4.4CVE-2024-2836: Social Share Stored XSS
CVE-2024-2836 - 4.3CVE-2023-41802: Super Socializer <= 7.13.54 Missing Authorization
CVE-2023-41802
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C