CVE-2025-47785 EMLOG SQL Injection Vulnerability

High 8.3 Published Updated

Authenticated users can inject SQL via article saving to steal admin credentials and achieve remote code execution in Emlog.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-47785?

CVE-2025-47785 is a high-severity SQL injection vulnerability in Emlog Emlog, published on 15 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Emlog is an open source website building system. In versions up to and including 2.5.9, SQL injection occurs because the $origContent parameter in admin/article_save.php is not strictly filtered. Since admin/article_save.php can be accessed by ordinary registered users, this will cause SQL injection to occur when the registered site is enabled, resulting in the injection of the admin account and password, which is then exploited by the backend remote code execution. As of time of publication, it is unknown whether a fix exists.

Weakness: CWE-89

Which versions are affected by CVE-2025-47785?

It affects 1 product.

Products include Emlog Emlog.

How do I fix CVE-2025-47785?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2025-47785 being exploited?

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

All Emlog Emlog vulnerabilities

Sources

Also known as GHSA-939m-47f7-m559.

Is CVE-2025-47785 in your software?

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

Check your SBOMs for free