Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain page-edit or comment account
-
DeliverySubmit markdown image with quote-breakout onerror payload
-
ExploitPayload stored in wakka.php-rendered content
-
ExecutionAdministrator views affected page
-
PersistJavaScript executes in admin session
-
ImpactSession/token theft or admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with permission to edit pages or post comments (PR:L), and the payload is delivered specifically through the markdown image syntax rendered by formatters/wakka.php, where a quote character in the image URL breaks out of the src attribute to inject an onerror event handler. Execution is gated on a victim - ideally an administrator - subsequently viewing the page containing the stored payload (UI:P/passive interaction). Limiting factors: instances restricted to trusted editors or with registration disabled greatly reduce exposure, and no code execution occurs until a victim renders the poisoned content. All YesWiki releases before 4.6.7 are affected; upgrading to 4.6.7 removes the condition. |
| Impact | This is a stored cross-site scripting flaw (CWE-79) with a vendor-supplied CVSS 4.0 vector of AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, scoring 5.1 (medium). The network attack vector and low complexity are offset by two meaningful brakes: PR:L means the attacker must already hold an account that can edit pages or post comments, and UI:P means a victim must view the poisoned page for the payload to fire. There is no EPSS score, KEV listing, or public POC in the provided data, so there is no public exploit identified at time of analysis and no evidence of active exploitation - this is a medium-severity, authenticated-attacker issue rather than a drop-everything emergency. The real risk is contextual: because any comment-poster or page-editor can plant a payload that executes in an administrator's browser, the practical impact is privilege escalation within the wiki (admin session/CSRF-token theft, settings changes) on sites that allow open registration or untrusted contributors. On locked-down instances with only trusted editors, real-world risk is low. No signals conflict; the main limitation is the absence of exploitation-probability telemetry (EPSS) to gauge likelihood. |
| Exploit ScenarioDerived | An attacker with a low-privileged account (or self-registered user on an open wiki) posts a comment or edits a page containing a markdown image whose src uses a quote to break out of the attribute and append an onerror handler. When an administrator later views that page, the injected JavaScript executes in the admin's authenticated session, enabling session/token theft or actions on their behalf. No public exploit code is identified at time of analysis, though the advisory describes the breakout technique precisely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Stored cross-site scripting in YesWiki before 4.6.7 allows authenticated users with page-edit or comment-posting privileges to inject an event handler into rendered markdown image markup, causing JavaScript to execute in the browsers of anyone who later views the poisoned page - including administrators. The flaw lives in the wakka formatter (formatters/wakka.php), where a quote character inside a markdown image URL breaks out of the src attribute and permits an onerror handler to be attached; exploitation is gated on a victim rendering the stored content (passive interaction), matching the assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. Vendor-supplied CVSS 4.0 rates it 5.1 (medium), a fixed release (4.6.7) is available from the vendor, and no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade YesWiki to 4.6.7 or later, which removes the unescaped attribute injection in the wakka formatter; the fix is tracked in the GitHub security advisory GHSA-7pv9-pwm8-cwwr (https://github.com/YesWiki/yeswiki/security/advisories/GHSA-7pv9-pwm8-cwwr), and VulnCheck's advisory (https://www.vulncheck.com/advisories/yeswiki-before-4.6.7-stored-xss-via-wakka-markdown-image-src-attribute) provides corroborating detail. Where immediate upgrading is not possible, compensating controls include: restricting write access so that only fully trusted accounts can edit pages or post comments (this shrinks the attack surface but does not eliminate risk from compromised trusted accounts); disabling anonymous registration and comment posting entirely (effective but reduces collaboration functionality); and deploying a Content-Security-Policy header that disallows inline event handlers and untrusted script sources on YesWiki responses (this blocks handler execution in browsers but can break legitimate wiki features and requires careful testing). Administrators should also audit existing pages and comments for injected markdown image markup containing embedded quotes or onerror handlers and remove any matches, since previously stored payloads persist after patching; note that once an administrator's session renders such a payload, the injected script runs with that user's privileges, so session invalidation and credential review are prudent after any suspected exposure.
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 collaborative wiki platform, and this is a classic CWE-79 improper neutralization of input during web page generation. The vulnerable component is the wakka formatter, which converts wiki-markdown image syntax into an HTML <img> element. Because the value is interpolated into the src attribute without escaping quote characters or applying HTML attribute encoding, an attacker who can write page content or comments can close the attribute early and append their own event handler (for example an onerror handler that fires when the image fails to load). The result is persistent, stored script execution in the security context of the YesWiki origin for every later viewer. The assessed vector (network-exploitable, low privileges, passive user interaction, scope changed, low confidentiality and integrity impact, no availability impact) reflects that the attacker must hold a content-authoring account and that payload delivery depends on a victim visiting the affected page. The CPE cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:* and EUVD range yeswiki 0 < 4.6.7 both indicate that every release prior to 4.6.7 carries the condition.
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:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated contributor needed (PR:L) and victim must view the page (UI:R); stored XSS crosses into the victim's browser context (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
YesWiki before 4.6.7 contains a stored cross-site scripting vulnerability in formatters/wakka.php that allows users who can edit pages or post comments to inject event handlers by placing quotes in markdown image URLs. Attackers can store a crafted markdown image whose src breaks out of the attribute to add an onerror handler, executing JavaScript in viewers' browsers, including administrators.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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
Unauthenticated server-side request forgery in YesWiki before 4.7.0 lets any remote visitor make the wiki server issue H
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
EUVD-2026-91477
GHSA-jjg5-rgm8-pvxr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB