Description
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, Bazar form-field templates still apply |raw('html') to field.label / field.hint in attribute and label-body contexts, resulting stored XSS in form renders. This issue has been patched in version 4.6.6.
Published: 2026-09-04
Score: 5.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

YesWiki, a PHP‑based wiki system, contains a flaw in versions prior to 4.6.6 where Bazar form‑field templates render field.label and field.hint with raw('html'), leading to stored cross‑site scripting when form content is saved and later displayed. The attacker can inject arbitrary HTML or JavaScript that will execute in any user’s browser when the form is rendered, enabling defacement, session hijacking or other malicious actions; this represents CWE‑79 (XSS) and potentially CWE‑116 (Improper Encoding). The impact includes loss of confidentiality, integrity and availability of the wiki content and user sessions.

Affected Systems

The vulnerability affects YesWiki deployments running any version older than 4.6.6, specifically the 4.6.5 release series and earlier. Deployments of 4.6.6 or later are considered fixed and do not contain the vulnerable rendering code.

Risk and Exploitability

The CVSS score of 5.5 denotes a moderate severity, while EPSS data is not available, making the exploitation likelihood difficult to quantify. The issue is not listed in the CISA KEV catalog, indicating no widespread exploitation has been reported to date. The likely attack vector requires the attacker to create or edit a Bazar form, necessitating some level of access to the wiki, but the stored XSS payload will run in any browser that views the form, so the threat remains for publicly accessible deployments until the vendor patch is applied.

Generated by OpenCVE AI on September 5, 2026 at 00:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update YesWiki to version 4.6.6 or later, which removes the raw('html') rendering of field.label and field.hint.
  • Re‑examine Bazar form templates to confirm no residual raw('html') directives remain for field.label or field.hint.
  • Limit creation and editing of Bazar forms to trusted users to reduce exposure to potential XSS payloads.

Generated by OpenCVE AI on September 5, 2026 at 00:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xc7j-3g8q-9vh4 YesWiki has stored XSS in Bazar form-field templates via unescaped field.label / field.hint (|raw('html'))
History

Fri, 04 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description YesWiki is a wiki system written in PHP. Prior to version 4.6.6, Bazar form-field templates still apply |raw('html') to field.label / field.hint in attribute and label-body contexts, resulting stored XSS in form renders. This issue has been patched in version 4.6.6.
Title YesWiki: Bazar form-field templates still apply `|raw('html')` to `field.label` / `field.hint` in attribute and label-body contexts — stored XSS in form renders (sibling class of commit `e6b66aa`)
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-04T23:42:39.903Z

Reserved: 2026-06-08T17:13:43.064Z

Link: CVE-2026-52772

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T00:17:20.110

Modified: 2026-09-05T00:17:20.110

Link: CVE-2026-52772

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T00:30:18Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

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