# CVE-2024-6940: DedeCMS article_template_rand.php code injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.67%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-21T05:31:07.684Z
- Modified: 2026-06-17T08:19:01.850Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- DedeCMS: 5.7.114
- dedecms dedecms: 5.7.114; 5.7.112

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 4.7 Medium `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 5.8 Medium `AV:N/AC:L/Au:M/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitee.com/fushuling/cve/blob/master/dedeCMS%20V5.7.114%20article_template_rand.php%20code%20injection.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.271995> (third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.271995> (permissions-required, signature)
- <https://vuldb.com/?submit.372810> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-6940](https://www.cve.org/CVERecord?id=CVE-2024-6940), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-6940](https://nvd.nist.gov/vuln/detail/CVE-2024-6940), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6940 · Whole record: https://cve.day/CVE-2024-6940.json · Rebuilt by cve.day 2026-11-25T22:58:43.093Z
