Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public YesWiki install
-
DeliverySave filtertags markup with trailing-backslash token
-
ExploitBreak quote parity via MySQL escaping
-
ExecutionInject five-column UNION subquery
-
ImpactExfiltrate password hashes from database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a MySQL/MariaDB backend (the exploit specifically abuses MySQL backslash escaping to break quote parity) and the ability to save Bazar filtertags markup into a page - available to unauthenticated users only on default installations where page creation/editing is open. The limiting factors are therefore: (1) the database must be MySQL-family for the backslash-escaping trick to work; (2) if the deployment restricts page editing to authenticated users, the unauthenticated path is closed; and (3) affected versions are strictly before 4.6.7. On an out-of-the-box YesWiki install with open editing and MySQL, no authentication or user interaction is needed. |
| Impact | This is a genuine high-priority issue, not an inflated CVSS score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, low-complexity, unauthenticated exploitation requiring no user interaction, and the description independently corroborates this ('Unauthenticated attackers on default installs'), so the network/no-auth signals are consistent across sources. Vulnerable-system confidentiality is High (VC:H) because the UNION subquery reads arbitrary tables including password hashes, while integrity and availability impact are Low (VI:L/VA:L). No EPSS score, no CISA KEV listing, and no public POC were provided in the input, so exploitation status is currently theoretical despite the easy preconditions - the absence of these signals is notable given the attack is unauthenticated against default installs and was reported by a credible research vendor (VulnCheck). One nuance to verify: the attack is technically a two-step flow (the attacker must first save filtertags markup into a page, then trigger the filtertags action), yet CVSS still rates AC:L; the backslash-quote-parity trick is reliable under MySQL but the overall vector is sound. Prioritize patching because the impact is credential disclosure and no authentication barrier exists. |
| Exploit ScenarioDerived | An unauthenticated attacker visits a default YesWiki install and saves Bazar filtertags markup containing a filterN token ending in a trailing backslash, breaking quote parity in the raw 'tags.value IN (...)' SQL clause under MySQL backslash escaping. They then trigger the filtertags action to execute an injected five-column UNION subquery, extracting password hashes or other sensitive table data. No public exploit code was identified at time of analysis, but the preconditions are trivial on default configurations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Unauthenticated SQL injection in YesWiki before 4.6.7 allows remote attackers to read arbitrary database contents, including user password hashes, by saving crafted Bazar filtertags markup into a page. The Bazar filtertags action wraps unescaped filterN attribute tokens in quotes and concatenates them into a raw tags.value IN (...) clause, so a token ending in a backslash breaks quote parity under MySQL/MariaDB escaping and permits a five-column UNION subquery. Exploitation requires a MySQL-family backend and the ability to store filtertags markup - on default installations with open page editing no authentication or user interaction is required - and no public exploit code has been identified at time of analysis; the issue carries a CVSS 8.8 score and is a genuine high-priority flaw, not an inflated rating.
RemediationAI
Vendor-released patch: YesWiki 4.6.7 fixes the filtertags SQL injection - upgrade all instances to 4.6.7 or later, and consult the GitHub security advisory https://github.com/YesWiki/yeswiki/security/advisories/GHSA-p87r-f4x4-8r4g plus the VulnCheck advisory https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-sql-injection-via-filtertags-filtern-parameter for vendor guidance and any backports. If an immediate upgrade is not possible, the highest-value compensating control is to close the unauthenticated path: require authentication for page creation and editing (YesWiki's ACL/permission settings), which blocks the described default-install attack but changes the wiki's open-editing workflow and leaves authenticated insiders able to inject. As a secondary measure, forcing the MySQL/MariaDB session into ANSI quoting or NO_BACKSLASH_ESCAPES mode defeats the trailing-backslash quote-parity trick at the cost of potentially altering escaping semantics for other application queries, so it should be tested before broad rollout and is not a substitute for patching. Where Bazar filtertags functionality is unused, disabling or removing that action from templates removes the attack surface entirely, at the cost of losing structured-data tag filtering; neither workaround addresses the underlying unescaped string concatenation, so patching to 4.6.7 remains the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
YesWiki is a PHP-based wiki/CMS, and Bazar is its bundled extension for structured data records. The vulnerable filtertags action builds a SQL IN clause over the tags.value column: each filterN attribute supplied in the wiki markup is wrapped in single quotes without escaping and concatenated into the query string. Under MySQL or MariaDB (which treat backslash as an escape character unless NO_BACKSLASH_ESCAPES or ANSI quoting modes are set), a filterN token that ends in a backslash consumes the closing quote, breaking quote parity and letting the attacker append arbitrary SQL - in this case a five-column UNION subquery sized to match the original SELECT, enabling extraction of data from any table reachable by the application's database user. This is a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) instance where the root cause is missing parameterization combined with string-concatenation of user-controlled markup. The supplied CPE string (cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*) marks all tracked YesWiki releases as in scope, with EUVD explicitly bounding the affected range to versions before 4.6.7; the assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L confirms remote, unauthenticated reachability with high confidentiality impact, while the database-backend dependency (MySQL/MariaDB) and the need to persist markup are the practical prerequisites noted in the independent assessment.
Know when Yeswiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
Unauthenticated remote SQLi on default installs (AV:N/AC:L/PR:N/UI:N); reads password hashes so C:H, limited write/DB side effects give I:L/A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
YesWiki before 4.6.7 contains an SQL injection vulnerability in the Bazar filtertags action, which wraps unescaped filterN attribute tokens in quotes and concatenates them into a raw tags.value IN (...) clause. Unauthenticated attackers on default installs can save filtertags markup in a page with a trailing-backslash token that breaks quote parity under MySQL backslash escaping. This lets them inject a five-column UNION subquery to read arbitrary table data such as password hashes.
Technical POC Analysis
CWE-89 SQL injection in YesWiki's Bazar filtertags action.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
YesWiki, an open-source collaborative wiki platform, contains a high-severity database injection flaw (CVE-2026-104457) affecting all releases prior to 4.6.7 that can expose the complete contents of the site database, including user password hashes. Because the flaw is reachable through ordinary page content on instances that allow open editing, any organization hosting an affected YesWiki site - especially an internet-facing one - risks credential compromise for its user base and any downstream systems where those passwords are reused. Leadership should treat this as a priority remediation item rather than a routine patch cycle entry.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
YesWiki is a wiki system written in PHP. Rated high severity (CVSS 8.6), this vulnerability is remotely exploitable, no
YesWiki is a wiki system written in PHP. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable
Remote code execution in YesWiki prior to 4.6.6 allows unauthenticated attackers to inject arbitrary PHP via the Bazar C
YesWiki is a wiki system written in PHP. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable,
YesWiki is a wiki system written in PHP. Rated high severity (CVSS 7.6), this vulnerability is remotely exploitable, no
YesWiki is a wiki system written in PHP. Rated medium severity (CVSS 5.8), this vulnerability is remotely exploitable, n
YesWiki is a wiki system written in PHP. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploitable, n
Cross Site Scripting vulnerability in YesWiki v.4.54 allows a remote attacker to execute arbitrary code via a crafted pa
YesWiki version <= cercopitheque beta 1 contains a PHP Object Injection vulnerability in Unserialising user entered para
Authorization bypass in YesWiki before 4.6.7 lets unauthenticated remote attackers call admin-only API routes when the i
Unauthenticated attackers can delete or overwrite federated entries in YesWiki instances before 4.6.7 that have Activity
Authenticated SQL injection in YesWiki bazar module allows low-privileged users to execute arbitrary SQL queries against
EUVD-2026-91468
GHSA-f8w7-2q27-5p28
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB