GHSA-5724-x3rh-5qqq: Yeswiki/yeswiki Cross-Site Scripting Vulnerability

MODERATE
CWE-79
Published
Advisory Summary

GHSA-5724-x3rh-5qqq is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Yeswiki/yeswiki libraries in the Packagist ecosystem. The issue involves yeswiki has multiple reflected cross-site scripting vulnerabilities. Remediation is available by upgrading affected packages to version 4.6.0.

GHSA-5724-x3rh-5qqq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-5724-x3rh-5qqq
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Yeswiki/yeswiki
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-5724-x3rh-5qqq

To remediate this vulnerability, upgrade all affected Yeswiki/yeswiki dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

yeswiki/yeswiki fixed: 4.6.0
Upgrade yeswiki/yeswiki to 4.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for yeswiki/yeswiki

How to Check if You Are Affected

To determine whether your application is affected by GHSA-5724-x3rh-5qqq, inspect your project dependencies for Yeswiki/yeswiki:

inspect dependencies for yeswiki/yeswiki

Analyze the terminal output to locate any version of Yeswiki/yeswiki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Yeswiki/yeswiki, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Multiple **reflected Cross-site Scripting (XSS)** vulnerabilities across both **authenticated and unauthenticated** portions of the application. These findings present a significant security risk, as they can be leveraged to execute arbitrary JavaScript in a victim’s browser under various contexts. ## Impact and Exploitation While XSS is often treated as a standalone issue, these vulnerabilities have broader implications. Specifically, they can be used as **launch points to exploit other significant vulnerabilities**. Proof of concept links follow. All testing was performed on my local docker setup running the lastest version of the application. ## Proof of Concepts ## Authenticated Reflected XSS ``` http://localhost:8085/?ElizabethJFeinler/deletepage&incomingurl=%22%3E%3Cscript%3Ealert(1)%3C%2fscript%3E ``` ``` http://localhost:8085/?BazaR&vue=saisir&action=saisir_fiche&id=%3Cscript%3Ealert(1)%3C%2fscript%3E ``` ``` http://localhost:8085/?GererThemes/upload&file=%3Cscript%3Ealert(1)%3C/script%3E ``` ## Unauthenticated Reflected XSS ``` http://localhost:8085/?PagePrincipale/listpages&tags=%22%3E%3Cscript%3Ealert(1)%3C/script%3E ``` In this one, most of the parameters can be used to deliver an XSS payload, not just the template parameter. ``` http://localhost:8085/?BazaR/bazariframe&id=2&template=<script>alert(1)</script>&width=100%25&height=600px&lat=46.22763&lon=2.213749&markersize=big&provider=MapBox&zoom=5&groups=&titles=&groupsexpanded=false ``` ### Impact The reflected XSS vulnerabilities identified pose a significant risk to both application integrity and user safety. When combined with other issues discovered such as insecure endpoints or improper authentication mechanisms. These XSS flaws can be leveraged to escalate access, hijack sessions, and in some cases, achieve remote code execution (RCE). For example, malicious JavaScript executed via XSS could be used to trigger authenticated requests that exploit backend vulnerabilities, ultimately allowing an attacker to execute arbitrary commands on the server or pivot deeper into the environment. ### Mitigation Update to version 4.6.0

GHSA-5724-x3rh-5qqq Affected Yeswiki/yeswiki Versions

1 component(s)
Fixed Versions:
4.6.0
Product / Package Ecosystem Affected Versions Fixed Version
yeswiki/yeswiki
Packagist
< 4.6.0
4.6.0

References

Frequently Asked Questions

What is GHSA-5724-x3rh-5qqq?
GHSA-5724-x3rh-5qqq is a security vulnerability in Yeswiki/yeswiki involving YesWiki has Multiple Reflected Cross-site Scripting Vulnerabilities under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Yeswiki/yeswiki versions are affected?
Affected versions include releases prior to 4.6.0 across affected packages: yeswiki/yeswiki.
What version fixes GHSA-5724-x3rh-5qqq?
Upgrading to 4.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is yeswiki/yeswiki affected?
Yes, yeswiki/yeswiki is affected in releases prior to 4.6.0. Upgrade your dependency to 4.6.0 or later.
What CWE is associated with GHSA-5724-x3rh-5qqq?
GHSA-5724-x3rh-5qqq is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for GHSA-5724-x3rh-5qqq?
Run the dependency tree command: 'inspect dependencies for yeswiki/yeswiki'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5724-x3rh-5qqq",
  "modified" : "2026-04-01T00:24:13Z",
  "published" : "2026-04-01T00:24:13Z",
  "aliases" : [ ],
  "summary" : "YesWiki has Multiple Reflected Cross-site Scripting Vulnerabilities",
  "details" : "### Summary\n\nMultiple **reflected Cross-site Scripting (XSS)** vulnerabilities across both **authenticated and unauthenticated** portions of the application. These findings present a significant security risk, as they can be leveraged to execute arbitrary JavaScript in a victim’s browser under various contexts.\n\n## Impact and Exploitation\n\nWhile XSS is often treated as a standalone issue, these vulnerabilities have broader implications. Specifically, they can be used as **launch points to exploit other significant vulnerabilities**. \n\nProof of concept links follow. All testing was performed on my local docker setup running the lastest version of the application. \n\n## Proof of Concepts\n\n## Authenticated Reflected XSS\n\n```\nhttp://localhost:8085/?ElizabethJFeinler/deletepage&incomingurl=%22%3E%3Cscript%3Ealert(1)%3C%2fscript%3E\n```\n\n```\nhttp://localhost:8085/?BazaR&vue=saisir&action=saisir_fiche&id=%3Cscript%3Ealert(1)%3C%2fscript%3E\n```\n\n```\nhttp://localhost:8085/?GererThemes/upload&file=%3Cscript%3Ealert(1)%3C/script%3E\n```\n\n## Unauthenticated Reflected XSS\n\n\n```\nhttp://localhost:8085/?PagePrincipale/listpages&tags=%22%3E%3Cscript%3Ealert(1)%3C/script%3E\n```\n\nIn this one, most of the parameters can be used to deliver an XSS payload, not just the template parameter. \n\n```\nhttp://localhost:8085/?BazaR/bazariframe&id=2&template=<script>alert(1)</script>&width=100%25&height=600px&lat=46.22763&lon=2.213749&markersize=big&provider=MapBox&zoom=5&groups=&titles=&groupsexpanded=false\n```\n\n### Impact\n\nThe reflected XSS vulnerabilities identified pose a significant risk to both application integrity and user safety. When combined with other issues discovered such as insecure endpoints or improper authentication mechanisms. These XSS flaws can be leveraged to escalate access, hijack sessions, and in some cases, achieve remote code execution (RCE). For example, malicious JavaScript executed via XSS could be used to trigger authenticated requests that exploit backend vulnerabilities, ultimately allowing an attacker to execute arbitrary commands on the server or pivot deeper into the environment.\n\n### Mitigation\nUpdate to version 4.6.0",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "yeswiki/yeswiki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/YesWiki/yeswiki/security/advisories/GHSA-5724-x3rh-5qqq"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/YesWiki/yeswiki"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-01T00:24:13Z",
    "nvd_published_at" : null
  }
}