Stored XSS using two files in usememos/memos
A stored cross-site scripting flaw in usememos/memos 0.9.1 let an attacker upload a JavaScript file and reference it from an HTML file, so the script ran when the HTML was viewed. This could allow theft of sensitive information such as login credentials from users visiting the affected site.
usememos/memos
Originally disclosed on huntr
A stored cross-site scripting (XSS) vulnerability was discovered in usememos/memos version 0.9.1. This vulnerability allows an attacker to upload a JavaScript file containing a malicious script and reference it in an HTML file. When the HTML file is accessed, the malicious script is executed. This can lead to the theft of sensitive information, such as login credentials, from users visiting the affected website. The issue has been fixed in version 0.10.0.
From the GitHub Advisory Database (GHSA-5r2g-59px-3q9w, 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
Impact
An attacker could steal sensitive information, such as login credentials, from users who visit the affected website.
What the attacker needed
Ability to upload files; victim views the crafted HTML
The fix
The issue was fixed in version 0.10.0.
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 means a malicious script is saved on the website and later runs in other people's browsers. Here, the attacker uploaded a script file and an HTML page that loads it, so anyone opening that page runs the attacker's code. That code can then read things the site shows to the victim, like their login details.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.