CVE-2025-6335 DedeCMS Template dedetag.class.php command injection

Medium 5.1 Published Updated

Remote attackers can execute arbitrary commands via the notes argument in DedeCMS template handler, requiring authentication.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6335?

CVE-2025-6335 is a medium-severity command injection vulnerability in Dedecms Dedecms, published on 20 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability was found in DedeCMS up to 5.7.2 and classified as critical. This issue affects some unknown processing of the file /include/dedetag.class.php of the component Template Handler. The manipulation of the argument notes leads to command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2025-6335?

It affects 1 product.

Products include Dedecms Dedecms.

How do I fix CVE-2025-6335?

No fix has been published for CVE-2025-6335 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-6335 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6335 exists.

Public exploit code: 1 proofs of concept on GitHub.

All Dedecms Dedecms vulnerabilities

Sources

Also known as GHSA-qgg2-ph52-84j3.

Is CVE-2025-6335 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free