Vulnerable Version: Yeswiki < v4.5.4
Vulnerable Endpoint: /?PagePrincipale%2Fdeletepage
Vulnerable Parameter: incomingurl
Payload: "><script>alert(1)</script>
Reflected Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser-side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.
NOTE: This vulnerability requires admin access.
1. Visit the endpoint as mentioned below and see that an alert box pops up:
URL with Payload: https://yeswiki.net/?PagePrincipale%2Fdeletepage&incomingurl="><script>alert(1)</script>
An attacker can use a reflected cross-site scripting attack to steal cookies from an authenticated user by having them click on a malicious link. Stolen cookies allow the attacker to take over the user’s session. This vulnerability may also allow attackers to deface the website or embed malicious content.
| Score | Percentile |
|---|---|
| 0.20% | 41.57% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 3.8 | 3.1 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-cg4f-cq8h-3ch8 ↗ |
| CVE | CVE-2025-46350 ↗ |
| CWE id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| composer | yeswiki/yeswiki | < 4.5.4 | 4.5.4 | — |