Advisory record · GHSA-8f2v-2qhj-gfwg

YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiController::deletePage`)

CVSS 8.3 HighEPSS 0.0051 · 44th percentile

Published by the GitHub Advisory Database at 9 Jul 2026, 21:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yeswiki/yeswikiPackagist>=4.2.0, <4.6.64.6.6
Identifiers
GHSA-8f2v-2qhj-gfwg · CVE-2026-52771 · PKSA-tw5z-d3fj-nkdp
Weakness (CWE)
CWE-89
Published
9 Jul 2026
Updated
9 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

YesWiki versions from 4.2.0 before 4.6.6 are affected by a second-order SQL injection in the page delete API (ApiController::deletePage). An authenticated low-privilege user can create a page whose tag contains SQL fragments, link it with an include directive, and then call the delete endpoint, which runs the stored tag unescaped in a DELETE query. This allows execution of arbitrary SQL in the wiki database, including time-based data extraction. Upgrade to YesWiki 4.6.6.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.3 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0051, the 44th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.