BuzzPHP
LightDarkSystem

YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via Bazar Semantic Templates

High severity. Published 9 July 2026. Update yeswiki/yeswiki to 4.6.6 or later: composer update yeswiki/yeswiki.

Which versions are affected?

PackageAffected versionsFixed in
yeswiki/yeswiki (opens in a new tab)< 4.6.64.6.6

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show yeswiki/yeswiki
composer audit

Advisory details

SeverityHigh
Published
Updated
CVECVE-2026-52762 (opens in a new tab)
GHSAGHSA-65p8-9433-jpcp (opens in a new tab)
WeaknessCWE-1336

What the advisory says

Summary 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 (bnsemtemplate), and that content is later executed server-side when public semantic endpoints are requested.

This was first confirmed through a harmless proof payload where {{ 7 7 }} was rendered as 49 through the public JSON-LD endpoint.

Source: GHSA-65p8-9433-jpcp (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories