Sploit.io - Search

Product: yacy_search_server, version: <= 1.92

CVE-2026-24824

Severity: Unknown

Description: Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in yacy yacy_search_server (source/net/yacy/http/servlets modules). This vulnerability is associated with program files YaCyDefaultServlet.Java. This issue affects yacy_search_server.

CVSS Score: N/A

Priority

D

CISA Data

EPSS Data

  • EPSS: 0.003180000
  • Percentile: 0.236880000
  • Date: 2026-07-10

ExploitDB

No data available.

HackerOne Data

  • Rank: 10128
  • Reports submitted count: 0
  • Unknown: 0
  • None: 0
  • Low: 0
  • Medium: 0
  • High: 0
  • Critical: 0

GitHub PoCs

    Nuclei Templates

    No data available.

    VulnCheck Data

    Affected Products:

    • yacy yacy_search_server - Versions: 0

    References:

    Risk Assessment

    1. Risk Assessment
    The vulnerability, CVE-2026-24824, is a Cross-Site Scripting (XSS) flaw within the yacy_search_server, specifically in the YaCyDefaultServlet.java file. XSS vulnerabilities occur when user-supplied data is included in web page generation without proper sanitization, allowing attackers to inject malicious scripts into the webpage viewed by other users. The CVSS v4.0 score is 6.9 (Medium severity), indicating a moderate risk. The attack vector is network-based, meaning it can be exploited remotely with no privilege requirements, and user interaction is not necessarily needed. This suggests the vulnerability is relatively easy to exploit.

    The business impact depends on how yacy_search_server is used. If used for internal searching, the impact may be limited to compromising internal user accounts or systems. If exposed to the public internet, the impact could be more significant, potentially leading to website defacement, session hijacking, or redirection to malicious sites. Confidentiality could be impacted if sensitive information is displayed on the affected pages and captured by the injected script. Integrity is affected as the attacker can modify the content displayed to users. Availability is less directly affected but could be impacted if the injected script causes excessive resource consumption. The EPSS score of 0.003180000 indicates a low, but present, probability of exploitation.

    2. Potential Attack Scenarios
    An attacker could leverage this XSS vulnerability by crafting a malicious URL containing a JavaScript payload. This URL could be delivered to a user via phishing email, social engineering, or by embedding it in a legitimate web page.

    Attack Vector: The attacker crafts a URL containing a malicious JavaScript payload.
    Attack Process: A user clicks on the malicious URL, causing their browser to load the yacy_search_server page with the injected script. The script executes within the user's browser security context.
    Potential Outcomes: The script could steal the user's session cookie, redirecting them to a phishing page that mimics the yacy_search_server login page. The attacker could then use the stolen cookie to authenticate as the user and access their data or perform actions on their behalf. Alternatively, the script could deface the yacy_search_server page, displaying a message or image chosen by the attacker. The script could also redirect the user to a malicious website hosting malware.

    3. Mitigation Recommendations
    The primary mitigation for this XSS vulnerability is to properly sanitize user input during web page generation. Specifically, the YaCyDefaultServlet.java file needs to be updated to escape or encode user-supplied data before it's included in the HTML output.

    Immediate Actions:
    * Patch yacy_search_server to the latest version. The pull request available at https://github.com/yacy/yacy_search_server/pull/722 likely contains the necessary fix.
    * If patching immediately isn’t possible, implement input validation and output encoding. Ensure that all user-supplied data is properly escaped for the HTML context before being displayed.

    Long-Term Recommendations:
    * Implement a Content Security Policy (CSP) to restrict the sources from which scripts can be loaded, reducing the impact of a successful XSS attack.
    * Regularly scan yacy_search_server for vulnerabilities using automated vulnerability scanners.
    * Educate users about phishing and other social engineering techniques to reduce the likelihood of them clicking on malicious URLs.

    4. Executive Summary
    The yacy_search_server is vulnerable to a Cross-Site Scripting (XSS) attack (CVE-2026-24824). This means an attacker can inject malicious scripts into web pages served by the server, potentially allowing them to steal user data, hijack sessions, or deface the website. The vulnerability is considered to be of medium severity and relatively easy to exploit.

    The impact of this vulnerability depends on how the yacy_search_server is used. If used for public-facing searches, the risk is higher, potentially impacting customer trust and data security. We recommend patching the yacy_search_server to the latest version as soon as possible, utilizing the patch available at https://github.com/yacy/yacy_search_server/pull/722. Addressing this vulnerability will improve the security of our yacy_search_server deployment and protect against potential data breaches and service disruptions. Prompt action is recommended to minimize the risk to our users and organization.