Description
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.
Published: 2026-10-02
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

This vulnerability is a stored cross‑site scripting flaw in YesWiki before version 4.6.7. It exists in the formatters/wakka.php module and allows an attacker who can edit a page or post a comment to inject event handlers by inserting quote characters into markdown image URLs. The crafted markdown image breaks out of the src attribute and introduces an onerror handler that executes arbitrary JavaScript whenever a page is viewed, affecting all users including site administrators.

Affected Systems

All installations of YesWiki using the yeswiki product and running any version earlier than 4.6.7 are affected. The vulnerability applies to the default markdown image rendering mechanism provided by the wakka.php formatter.

Risk and Exploitability

The CVSS score of 5.1 classifies the flaw as moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog, indicating it has not been confirmed in the wild yet. Exploitation requires an attacker to have write access to the target wiki, such as permission to edit pages or post comments. Once the malicious markdown image is stored, any user who views the affected page will have the injected JavaScript executed in their browser, leading to hijacked sessions, credential theft, or defacement.

Generated by OpenCVE AI on October 2, 2026 at 13:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YesWiki to version 4.6.7 or newer to resolve the stored XSS flaw.
  • If an upgrade is not immediately possible, restrict edit and comment permissions to trusted users or disable user editing while a patch is applied.
  • Audit stored pages for malicious markdown image URLs and remove any that contain quoted src attributes or onerror handlers.

Generated by OpenCVE AI on October 2, 2026 at 13:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 02 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title YesWiki before 4.6.7 Stored XSS via Wakka Markdown Image src Attribute
First Time appeared Yeswiki
Yeswiki yeswiki
Weaknesses CWE-79
CPEs cpe:2.3:a:yeswiki:yeswiki:*:*:*:*:*:*:*:*
Vendors & Products Yeswiki
Yeswiki yeswiki
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-02T14:03:59.518Z

Reserved: 2026-10-02T00:55:11.982Z

Link: CVE-2026-104466

cve-icon Vulnrichment

Updated: 2026-10-02T14:03:52.678Z

cve-icon NVD

Status : Deferred

Published: 2026-10-02T12:17:19.217

Modified: 2026-10-02T15:17:08.287

Link: CVE-2026-104466

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T13:45:17Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')