CVE-2026-73847CWE-1275CWE-352CWE-798hardcoded-credentialscsrf

CVE-2026-73847

Medium · published August 14, 2026

CVSS v3.1
6.8
EPSS
0%
Percentile
9.5
In the wild
Unconfirmed
What it is

Emlog is an open source website building system. In 2.6.26 and earlier, missing CSRF protection on the AI Assistant execute_tool action in admin/ai.php lets a remote unauthenticated attacker submit a forged cross-site request from an attacker-controlled page to a recently logged-in administrator. The authentication cookie set in include/lib/loginauth.php has no explicit SameSite attribute, enabling Chrome's temporary Lax+POST grace window. The query_database case passes attacker-controlled sql and confirm_code values to Ai::queryDatabase in include/service/ai.php; read queries need no confirmation, write queries accept the public confirm string, only the blog table is write-protected, and aliasing password as pwd_hash bypasses output redaction. A successful request can read every database table and write every table except blog, including changing the user table to take over an administrator account. No fixed version is available as of this review.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00197 · 9.5th percentile
Weaknesses
CWE-1275 · Sensitive Cookie with Improper SameSite Attribute; CWE-352 · Cross-Site Request Forgery (CSRF); CWE-798 · Use of Hard-coded Credentials
Published
2026-08-14T22:19Z
References (2)
EPSS history
Timeline
  • 14 AUG 17:33Z
    Emlog: Missing CSRF protection in AI Assistant execute_tool leads to full database compromise and admin account takeover
    cvelistv5