Skip to main content
VulnerabilityPublished Updated

CVE-2024-40548: PublicCMS · An Arbitrary File Upload

Affects PublicCMSSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubsanluan/PublicCMSpkg:github/sanluan/PublicCMSOther threatsAffected
  • =4.0.202302
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediate mitigation involves restricting access to the /admin/cmsTemplate/save endpoint to trusted administrators only and enforcing strict authentication and authorization controls.
  2. Implement robust input validation and file type restrictions on uploaded files to prevent malicious payloads.
  3. Monitor web server logs and application behavior for unusual file uploads or execution attempts.
  4. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious upload patterns targeting this endpoint.
  5. Isolate the CMS environment to limit potential lateral movement in case of compromise.
  6. Regularly back up CMS data and configurations to enable quick recovery.
  7. Stay alert for official patches or updates from PublicCMS developers and apply them promptly once available.
  8. Conduct security audits and penetration testing focusing on file upload functionalities to identify and remediate similar weaknesses.
  9. 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.

References

Community reviews

Loading reviews…