Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
YesWiki yeswiki
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

YesWiki 是一个用 PHP 编写的维基(wiki)系统。在 4.6.6 版本之前,YesWiki 公开的 Bazar 条目列表 API 存在未认证 SQL 注入漏洞,攻击向量位于数值型查询/过滤器中。对于 Bazar 中值结构为数值型的字段,YesWiki 虽然会对攻击者可控的过滤值进行转义,但在将其插入 SQL 语句时,既未加引号,也未进行数值类型校验。未认证的 attacker(攻击者)可以注入布尔型 SQL 表达式,并依据查询是否返回条目来推断数据库中的内容。该问题已在 4.6.6 版本中修复。

CVSS 7.5 · High EPSS 0.05% · P15

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-52770

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in yeswiki/yeswiki
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
YesWiki yeswiki < 4.6.6 -

II. Public POCs for CVE-2026-52770

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-52770

登录查看更多情报信息。

Patches & Fixes for CVE-2026-52770 (1)

Vendor Advisories for CVE-2026-52770 (1)

Other References for CVE-2026-52770 (1)

Same Patch Batch · YesWiki · 2026-09-04 · 12 CVEs total

CVE-2026-52777 9.4 CRITICAL YesWiki: Authenticated PHP Object Injection in BazarImportAction via unserialize
CVE-2026-52766 9.1 CRITICAL YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
CVE-2026-52775 8.8 HIGH YesWiki Authenticated SQL Injection in ReactionManager
CVE-2026-52769 8.3 HIGH YesWiki: Unauthenticated Server-Side Request Forgery via ActivityPub `Signature.keyId`
CVE-2026-52771 8.3 HIGH YesWiki: Second-Order SQL Injection in Page Delete API via Unescaped Page Tag (`ApiControl
CVE-2026-52767 8.2 HIGH YesWiki: Unauthenticated ActivityPub Signature-Verification Bypass via `!openssl_verify(..
CVE-2026-52762 7.1 HIGH YesWiki: Authenticated (Admin) Server-Side Template Injection to Remote Code Execution via
CVE-2026-52763 6.5 MEDIUM YesWiki: SQL injection via the `recentchanges` action `period` argument leading to arbitra
CVE-2026-52773 6.1 MEDIUM Reflected XSS via Unescaped Archived-Revision `time` Parameter in `handlers/page/show.php`
CVE-2026-52774 6.1 MEDIUM Reflected XSS via Unescaped `id` Parameter in Bazar Widget HTML Attributes in YesWiki
CVE-2026-52772 5.5 MEDIUM YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.h

IV. Related Vulnerabilities

V. Comments for CVE-2026-52770

No comments yet


Leave a comment