{"id":"GHSA-ggqx-43h2-55jp","summary":"Yeswiki Vulnerable to Unauthenticated Reflected Cross-site Scripting","details":"### Summary\n**Vulnerable Version:** Yeswiki \u003c v4.5.4\n**Category:** Injection\n**CWE: 79:** Improper Neutralization of Input During Web Page Generation (CWE-79)\n**CVSS:** 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)\n**Vulnerable Endpoint:** `/?BazaR`\n**Vulnerable Parameter:** `idformulaire`\n**Payload:** `\u003cscript\u003ealert(1)\u003c/script\u003e`\n\n### Details\nReflected 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.\n\n### PoC\n1. Visit the endpoint as mentioned below and see that an alert box pops up:\n**URL with Payload:** `https://yeswiki.net/?BazaR&vue=formulaire&action=confirm_delete&idformulaire=%3cscript%3ealert(1)%3c%2fscript%3e`\n\n### Impact\nAn 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.","aliases":["CVE-2025-46550"],"modified":"2025-04-30T17:57:10.047551Z","published":"2025-04-29T14:36:10Z","related":["CVE-2025-46550"],"database_specific":{"nvd_published_at":"2025-04-29T21:15:52Z","cwe_ids":["CWE-79"],"github_reviewed_at":"2025-04-29T14:36:10Z","github_reviewed":true,"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-ggqx-43h2-55jp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46550"},{"type":"WEB","url":"https://github.com/YesWiki/yeswiki/commit/4e9e51d80cd024ed2ac5c12c820817e6d8c2655a"},{"type":"PACKAGE","url":"https://github.com/YesWiki/yeswiki"}],"affected":[{"package":{"name":"yeswiki/yeswiki","ecosystem":"Packagist","purl":"pkg:composer/yeswiki/yeswiki"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.4"}]}],"versions":["4.2.3","v4.1.0","v4.1.1","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.2.0","v4.2.1","v4.2.2","v4.2.4","v4.3","v4.3.1","v4.4.0","v4.4.1","v4.4.2","v4.4.3","v4.4.4","v4.4.5","v4.5.0","v4.5.1","v4.5.2","v4.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-ggqx-43h2-55jp/GHSA-ggqx-43h2-55jp.json","last_known_affected_version_range":"\u003c= 4.5.3"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}