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

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T20:54:23.000Z
- Modified: 2026-09-08T21:05:26.920Z
- Also known as: GHSA-65p8-9433-jpcp
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- YesWiki yeswiki: < 4.6.6
- yeswiki/yeswiki (Packagist): before 4.6.6

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-65p8-9433-jpcp> (exploit, web)
- <https://github.com/YesWiki/yeswiki/commit/89462f1577a8a1fe7fcff75e77b5058a74d8047b> (web)
- <https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6>
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

- CVE List: [CVE-2026-52762](https://www.cve.org/CVERecord?id=CVE-2026-52762), CVE Terms of Use, modified 2026-09-08
- GitHub Advisory Database: [GHSA-65p8-9433-jpcp](https://github.com/advisories/GHSA-65p8-9433-jpcp), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-52762](https://nvd.nist.gov/vuln/detail/CVE-2026-52762), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-52762 · Whole record: https://cve.day/CVE-2026-52762.json · Rebuilt by cve.day 2026-11-25T22:59:36.415Z
