# CVE-2026-52770: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in yeswiki/yeswiki

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T21:00:05.000Z
- Modified: 2026-09-08T21:05:26.920Z
- Also known as: GHSA-qg78-vmvc-fhjw
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

YesWiki is a wiki system written in PHP. Prior to version 4.6.6, YesWiki’s public Bazar entry-listing APIs are vulnerable to unauthenticated SQL injection in numeric query / queries filters. For Bazar fields whose value structure is numeric, YesWiki escapes the attacker-controlled filter value but inserts it into SQL without quotes or numeric validation. An unauthenticated attacker can inject boolean SQL expressions and infer database contents from whether entries are returned. 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:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/YesWiki/yeswiki/security/advisories/GHSA-qg78-vmvc-fhjw> (exploit, web)
- <https://github.com/YesWiki/yeswiki/commit/f3b0dd093a7ace47dc29a515faeb02635baceae2> (web)
- <https://github.com/YesWiki/yeswiki/releases/tag/v4.6.6>
- <https://github.com/YesWiki/yeswiki> (package)

## Sources

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

---

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