CVE-2024-6940
CVE-2024-6940 is a medium-severity vulnerability in Dedecms with a CVSS 3.x base score of 4.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Medium (CVSS 3.x base score 4.7)
- CVSS v2: 5.8
- CVSS v4: 5.1
- EPSS exploit prediction: 1% (47th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-47926
- Weakness: CWE-94
- Affected product: Dedecms
- Published:
- Last modified:
Description
A vulnerability was found in DedeCMS 5.7.114. It has been classified as critical. This affects an unknown part of the file article_template_rand.php. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-271995. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
Frequently asked questions
- What is CVE-2024-6940?
- A vulnerability was found in DedeCMS 5.7.114. It has been classified as critical. This affects an unknown part of the file article_template_rand.php. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-271995. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
- How severe is CVE-2024-6940?
- CVE-2024-6940 has a CVSS 3.x base score of 4.7, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2024-6940 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (47th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-6940?
- CVE-2024-6940 affects Dedecms. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-6940?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-6940 have an EU (EUVD) identifier?
- Yes. CVE-2024-6940 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-47926.
- When was CVE-2024-6940 published?
- CVE-2024-6940 was published on 2024-07-21 and last updated on 2026-06-17.
References
- https://gitee.com/fushuling/cve/blob/master/dedeCMS%20V5.7.114%20article_template_rand.php%20code%20injection.md
- https://vuldb.com/?ctiid.271995
- https://vuldb.com/?id.271995
- https://vuldb.com/?submit.372810
Affected products (1)
- cpe:2.3:a:dedecms:dedecms:5.7.112:*:*:*:*:*:*:*
More vulnerabilities in Dedecms
- CVE-2026-30643 — Critical (CVSS 9.8): An issue was discovered in DedeCMS 5.7.118 allowing attackers to execute code via crafted setup tag values in a module…
- CVE-2026-30694 — Critical (CVSS 9.8): An issue in DedeCMS v.5.7.118 and before allows a remote attacker to execute arbitrary code via the array_filter…
- CVE-2024-35510 — Critical (CVSS 9.8): An arbitrary file upload vulnerability in /dede/file_manage_control.php of DedeCMS v5.7.114 allows attackers to execute…
- CVE-2024-35375 — Critical (CVSS 9.8): There is an arbitrary file upload vulnerability on the media add .php page in the backend of the website in version…
- CVE-2024-29661 — Critical (CVSS 9.8): A File Upload vulnerability in DedeCMS v5.7 allows a local attacker to execute arbitrary code via a crafted payload.
- CVE-2024-29684 — Critical (CVSS 9.8): DedeCMS v5.7 was discovered to contain a Cross-Site Request Forgery (CSRF) via the component…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.