Servers and applications
CVE-2026-104462
SQL injection in nuagetag action via unescaped tags parameter (backslash-escape breakout)
- Severity
- High 8.6
- Published
- 1 Sept 2026
- Last changed
- 7 Oct 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 4.6.7
- Exploit chance
- 0.3% in the next 30 daysHigher than 24% of CVEs. EPSS by FIRST, 18 Nov 2026
- Weakness
- SQL injection (CWE-89)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- Also known as
- GHSA-p9rm-p6pp-8m8c
- Sources
- Project advisories (GitHub)
Description
The Bazar nuagetag action concatenates the unescaped tags attribute into a raw SQL ... value IN (...) clause. On MySQL running with the default sql_mode (backslash-escapes enabled), a trailing-backslash token flips quote parity and lets an attacker inject a UNION subquery, exfiltrating arbitrary table data (e.g. yeswiki_users.password hashes). On a default install (default_write_acl => '*') this is unauthenticated.
tools/bazar/actions/nuagetag.php:13-19 builds the tag list by quote-wrapping each token from tags and concatenates it into AND value IN (...) at the sinks L29 (COUNT) and L47 (display SELECT value, resource). There is no escaping, no integer cast, and no parameterization (grep = 0 escape calls); LoadAll -> DbService::query is a raw unparameterized mysqli_query. YesWiki connects via mysqli with the default sql_mode (verified: SELECT @@sql_mode contains no NO_BACKSLASH_ESCAPES, so \ is an escape char).
Affected software
| Software | Affected versions |
|---|---|
YesWikiServers and applications · github:yeswiki/yeswiki |
|
About YesWiki
Free wiki-style software for building online sharing and collaboration platforms
- GitHub stars
- 139GitHub, 15 Nov 2026
- Forks
- 75GitHub, 15 Nov 2026
- Latest release
- v4.7.2GitHub, 15 Nov 2026
- Released
- 1 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- Written in
- PHPWikidata
- First released
- 2009Wikidata
- First published on GitHub
- 9 Sept 2009GitHub
Vulnerabilities in YesWiki
- In our list
- 103
- Published in the last 12 months
- 88
- Critical, last 12 months
- 9
- High, last 12 months
- 38
- Known exploited
- 0
- CVE-2026-116828YesWiki before 4.7.0 SQL Injection via despam.php INTERVAL operandMedium 6.9 26 Oct 2026
- CVE-2026-116827YesWiki before 4.7.0 SSRF via copyUrlToLocalFile in Bazar CSV ImportHigh 8.2 26 Oct 2026
- CVE-2026-116826YesWiki before 4.7.0 Authenticated SSRF via Page Duplication API downloadFileHigh 8.2 26 Oct 2026
- CVE-2026-116825YesWiki from 4.6.2 before 4.7.0 HTTP Signature Replay via ActivityPub InboxHigh 8.3 26 Oct 2026
- CVE-2026-116824YesWiki before 4.7.0 Stored XSS via Referer Header in referrers_sites HandlerMedium 5.3 26 Oct 2026
- CVE-2026-116823YesWiki before 4.7.0 Reflected XSS via BazarField $_REQUEST FallbackMedium 5.3 26 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-104462
- GitHub Advisory Database https://github.com/advisories/GHSA-p9rm-p6pp-8m8c
- github.com https://github.com/YesWiki/yeswiki/security/advisories/GHSA-p9rm-p6pp-8m8c