Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki Bazar contains a stored Server-Side Template Injection (SSTI) vulnerability in the semantic template feature that can be escalated to confirmed Remote Code Execution (RCE). An authenticated administrator can place arbitrary Twig expressions into the Semantic template (Twig) field (bn_sem_template), and that content is later executed server-side when public semantic endpoints are requested. This issue has been patched in version 4.6.6.
Published: 2026-09-04
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote code execution
Action: Immediate Patch
AI Analysis

Impact

A stored server‑side template injection exists in the Bazar semantic template feature of YesWiki. An authenticated administrator can insert arbitrary Twig expressions into the bn_sem_template field, which is later evaluated when a public semantic endpoint is accessed. This injection flaw can be exploited to execute arbitrary server‑side code, compromising the integrity and confidentiality of the system.

Affected Systems

YesWiki yeswiki is affected in all releases prior to 4.6.6, with the vulnerability fixed in version 4.6.6. Administrators of these installations are the primary users who can trigger the exploitation path.

Risk and Exploitability

The vulnerability has a CVSS score of 7.1, indicating a high severity impact when exploited. No EPSS data is currently available and the issue is not listed in the CISA KEV catalog, but the nature of the flaw provides a clear attack vector via privileged admin access and public semantic endpoints, making successful exploitation reasonably likely for an attacker with the required credentials.

Generated by OpenCVE AI on September 5, 2026 at 00:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to YesWiki 4.6.6 or newer to apply the SSTI fix.
  • If an upgrade is not possible, block or disable the Bazar Semantic Templates feature for untrusted users to prevent injection.
  • Configure the application firewall or logging to detect and alert on abnormal Twig expressions in the semantic template field.

Generated by OpenCVE AI on September 5, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-65p8-9433-jpcp YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates
History

Tue, 08 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 05 Sep 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Yeswiki
Yeswiki yeswiki
Vendors & Products Yeswiki
Yeswiki yeswiki

Fri, 04 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki Bazar contains a stored Server-Side Template Injection (SSTI) vulnerability in the semantic template feature that can be escalated to confirmed Remote Code Execution (RCE). An authenticated administrator can place arbitrary Twig expressions into the Semantic template (Twig) field (bn_sem_template), and that content is later executed server-side when public semantic endpoints are requested. This issue has been patched in version 4.6.6.
Title YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates
Weaknesses CWE-1336
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-08T18:01:16.911Z

Reserved: 2026-06-08T17:13:43.063Z

Link: CVE-2026-52762

cve-icon Vulnrichment

Updated: 2026-09-08T18:01:12.034Z

cve-icon NVD

Status : Deferred

Published: 2026-09-05T00:17:18.607

Modified: 2026-09-08T21:05:26.920

Link: CVE-2026-52762

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:30:17Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine