CVE-2024-40548: PublicCMS · An Arbitrary File Upload
Affects PublicCMSSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsanluan/PublicCMSpkg:github/sanluan/PublicCMSOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate mitigation involves restricting access to the /admin/cmsTemplate/save endpoint to trusted administrators only and enforcing strict authentication and authorization controls.
- Implement robust input validation and file type restrictions on uploaded files to prevent malicious payloads.
- Monitor web server logs and application behavior for unusual file uploads or execution attempts.
- Employ web application firewalls (WAFs) with custom rules to detect and block suspicious upload patterns targeting this endpoint.
- Isolate the CMS environment to limit potential lateral movement in case of compromise.
- Regularly back up CMS data and configurations to enable quick recovery.
- Stay alert for official patches or updates from PublicCMS developers and apply them promptly once available.
- Conduct security audits and penetration testing focusing on file upload functionalities to identify and remediate similar weaknesses.
- Educate administrators on the risks of arbitrary file uploads and enforce strong credential hygiene to reduce insider threat risks.
Description
An arbitrary file upload vulnerability in the component /admin/cmsTemplate/save of PublicCMS v4.0.202302.e allows attackers to execute arbitrary code via uploading a crafted file.