YesWiki versions prior to 4.7.0 contain a SQL injection vulnerability in the despam.php script. The flaw arises because the 'from' POST parameter is escaped but used in an unquoted INTERVAL position in an SQL command. Authenticated administrators can exploit this to perform blind SQL injection attacks, potentially reading sensitive database contents including user password hashes. The vulnerability is fixed in version 4.7.0.
YesWiki versions prior to 4.7.0 have a server-side request forgery (SSRF) vulnerability in the Bazar CSV import function copyUrlToLocalFile(). Authenticated administrators can exploit this by supplying crafted URLs in CSV or image fields, enabling arbitrary outbound requests. The vulnerability allows attackers to bypass extension checks using query-string suffixes or redirects to access cloud metadata credentials, internal services, or local files via file:// URLs. Responses are stored in the web-accessible files/ directory. This issue is fixed in version 4.7.0.
YesWiki versions prior to 4.7.0 contain a server-side request forgery (SSRF) vulnerability in the DuplicationManager::downloadFile() function. This flaw allows authenticated administrators to send arbitrary outbound requests by manipulating the files array during a POST request to the /api/pages/{tag}/duplicate endpoint. Exploitation can lead to unauthorized access to local files, cloud metadata, or database credentials, which may be stored in the publicly accessible files/ directory. The vulnerability is fixed in version 4.7.0.
YesWiki versions from 4.6.2 up to but not including 4.7.0 have a vulnerability in the HttpSignatureService::verifySignature() method where replay protection is missing. This allows attackers who capture a signed request to the /api/forms/{formId}/actor/inbox endpoint to replay the request later, potentially re-executing sensitive actions such as Delete, Update, Follow, or Undo.
YesWiki versions before 4.7.0 contain a stored cross-site scripting (XSS) vulnerability in the referrers_sites.php handler. This flaw allows unauthenticated attackers to inject malicious scripts via crafted Referer headers. The injected scripts execute in the context of any user visiting the referrer-sites page, potentially enabling same-origin authenticated actions. The vulnerability is fixed in version 4.7.0.
YesWiki versions before 4.7.0 contain a reflected cross-site scripting (XSS) vulnerability. This flaw allows unauthenticated attackers to inject JavaScript by manipulating query parameters that correspond to missing Bazar field names. The vulnerability arises because the application falls back to unsanitized user input rendered with Twig |raw templates, enabling execution of malicious scripts in the context of authenticated users' sessions. The issue is fixed in version 4.7.0.
YesWiki versions before 4.7.0 have a path traversal vulnerability in the BazarListeAction component. This flaw allows unauthenticated attackers to manipulate the template GET parameter to select arbitrary templates within the @bazar Twig namespace. Exploiting this can cause unintended page layouts and defacement for visitors who follow crafted links. The vulnerability is fixed in version 4.7.0.
YesWiki versions prior to 4.7.0 have a vulnerability in the AclService::updateRequestWithACL function where usernames are interpolated into SQL LIKE patterns without escaping wildcard characters. This allows self-registered attackers to bypass read access controls by using specially crafted usernames containing _ or % wildcards, enabling unauthorized reading of restricted pages and Bazar entries via the public Bazar listing API. The issue is fixed in version 4.7.0.
YesWiki versions from 4.6.0 up to but not including 4.7.0 have an information disclosure vulnerability. Unauthenticated attackers can exploit this flaw by appending the 'showreq' parameter to public Bazar listing API requests. This allows them to view assembled SQL queries, revealing sensitive internal information such as table names, JSON storage paths, ACL filter logic, and collation details. The vulnerability is fixed in version 4.7.0.
YesWiki versions before 4.6.7 have a cross-site scripting (XSS) vulnerability in the Bazar valeur action. This flaw allows page editors to inject malicious scripts by rendering unescaped HTML fetched from a remote URL. Exploitation involves attackers directing the vulnerable script to a controlled server returning crafted markup that executes JavaScript in viewers' browsers. The vulnerability has a medium severity rating with a CVSS score of 5.4.
YesWiki versions prior to 4.6.7 have a server-side request forgery (SSRF) vulnerability in the Bazar valeur action. This flaw allows page editors to cause the server to fetch arbitrary URLs, including internal or loopback addresses. Exploitation can lead to probing of internal services and injection of unescaped remote HTML, which may execute scripts in the browsers of users viewing the affected pages. The vulnerability has a CVSS 3.1 score of 7.4, indicating a medium severity level.