Stored Cross-site Scripting in showdoc
ShowDoc before version 2.10.4 has a stored cross-site scripting vulnerability in the File Library page when a file in .ofd format is uploaded. An attacker could upload a malicious .ofd file to execute script in other users' browsers.
star7th/showdoc
Originally disclosed on huntr
ShowDoc is a tool for an IT team to share documents online. showdoc contains a stored cross-site scripting vulnerability in the File Library page when uploading a file in .ofd format in versions prior to 2.10.4. At this time, there is no known workaround. Users should update to version 2.10.4.
From the GitHub Advisory Database (GHSA-3pg8-c473-w6rr, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely, the application does not properly sanitise or validate the contents of uploaded .ofd files before displaying them.
Impact
An attacker could execute script in the context of other users' sessions, potentially leading to data theft or account compromise.
What the attacker needed
Ability to upload a file to File Library; victim views the uploaded .ofd file
The fix
The vulnerability was fixed in version 2.10.4; users should update.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Stored cross-site scripting (XSS) is when a website saves harmful code that runs later in other people's browsers. Here, uploading a specially crafted .ofd file could let an attacker run code in the browser of anyone who views that file.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.