CVE-2024-40520: SeaCMS 12.9 has a remote code execution vulnerability
CVE-2024-40520 is a high-severity flaw (CVSS 8.8) affecting seacms. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is caused by admin_config_mark.php directly splicing and writing the user input data into inc_photowatermark_config.php without processing it, which allows authenticated attackers to exploit the vulnerability to execute arbitrary commands and obtain system permissions.
Why this priority
- High severity
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2024-07-12 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-40520?
seacms: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-40520 being exploited?
CVE-2024-40520 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-40520 affect?
CVE-2024-40520 affects seacms. Severity is high (CVSS 8.8). SeaCMS 12.9 has a remote code execution vulnerability. The vulnerability is caused by admin_config_mark.php directly splicing and writing the user input data into inc_photowatermark_config.php without processing it, which allows authenticat
How urgent is CVE-2024-40520?
Priority 52/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2025-15003 MEDIUM 4.7 UPGRADE A vulnerability was found in SeaCMS up to 13.3
- CVE-2025-10662 MEDIUM 4.7 UPGRADE A vulnerability has been found in SeaCMS up to 13.3
- CVE-2025-11071 MEDIUM 4.7 DOWNGRADE A security vulnerability has been detected in SeaCMS 13.3.20250820
- CVE-2025-50592 MEDIUM 5.4 UPGRADE Cross site scripting vulnerability in seacms before 13.2 via the vid parameter to Upload/js/player/dmplayer/pl
- CVE-2025-25813 MEDIUM 5.1 DOWNGRADE SeaCMS v13.3 was discovered to contain a remote code execution (RCE) vulnerability via the component admin_fil