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: n/a
KEV: No
Impact: n/a
Action: n/a
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

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T23:39:36.194Z

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

Link: CVE-2026-52762

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-52762

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T00:30:18Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine