yeswiki/yeswiki is vulnerable to SQL Injection
71
CVE Score
High
SQL Injection
Before the fix, updateRequestWithACL built the read-ACL filter for listing queries by interpolating the signed-in user's name and group tokens into SQL LIKE patterns, escaping only SQL string delimiters and not the _ and % wildcards. The username validation pattern accepts those characters, so on sites with self-registration a visitor could register a name made of wildcards and the public Bazar entry-listing API then returned pages and entries whose read ACL was restricted to other users or groups. The fix escapes LIKE metacharacters in every identity token before interpolation, so wildcard names no longer widen the ACL match.
Upgrade the yeswiki/yeswiki package to 4.7.0 or later.
You are affected if you are using a version that falls within the vulnerable range and allow self-registration and expose the Bazar entry-listing API, so a signed-in user whose name contains LIKE wildcards matches read-ACL tokens of others.
4.1.0 - 4.6.9
Fixed in 4.7.0yeswiki/yeswiki is vulnerable to SQL Injection in versions 4.1.0 - 4.6.9.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.