---
id: CVE-2026-73847
title: Emlog is an open source website building system
summary: >-
  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 att…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-352
  - CWE-798
  - CWE-1275
published: '2026-08-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T13:42:42.843'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73847'
references:
  - url: 'https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5'
    label: security-advisories@github.com
  - url: 'https://github.com/emlog/emlog/security/advisories/GHSA-v6wr-4x55-7qp5'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - exploit-available
epss: 0.00218
epssPercentile: 0.10851
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/squeeze440/CVE-2026-73847-emlog-PoC'
  checkedAt: '2026-09-25T08:21:12.034Z'
exploitAvailable: true
ingestedAt: '2026-09-16T13:56:12.588Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
