xyproto Algernon
cpe:2.3:a:algernon_project:algernon:*:*:*:*:*:*:*
- 1.17.4
A cross-site scripting (XSS) vulnerability has been identified in Algernon version 1.17.4. This issue allows attackers to execute arbitrary code by injecting a crafted payload into a filename. The vulnerability arises because filenames are inserted directly into HTML without proper escaping in directory listings. An attacker could exploit this by uploading files with malicious names that trigger the XSS payload when the directory is accessed.
Exploitation of this vulnerability allows for stored cross-site scripting, where the injected script is executed in the context of the user viewing the affected page.
To reproduce this vulnerability, upload a file with a name containing an XSS payload, such as an image file (like a .svg or .txt) with an embedded script (for example, an image tag with an 'onerror' event). Once the file is uploaded, access the directory listing where the file was uploaded. The XSS payload will be executed, demonstrating the vulnerability.
This vulnerability has been patched in Algernon version 1.17.5. Users are advised to update to this version.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.