Cross-site Scripting in FacturaScripts
FacturaScripts versions up to 2022.06 are vulnerable to reflected cross-site scripting, allowing an attacker to execute arbitrary JavaScript in a victim's browser. This could let the attacker steal cookies, make HTTP requests, or read content from the same origin.
neorazorx/facturascripts
Originally disclosed on huntr
FacturaScripts versions 2022.06 and prior are vulnerable to reflected cross-site scripting attacks. This vulnerability can use arbitrarily executed javascript code to steal users' cookies, perform HTTP request, get content of same origin page, etc. A fix is available on the master branch of the GitHub repository and anticipated to be part of version 2022.07.
From the GitHub Advisory Database (GHSA-m8gv-gvhf-7rhp, 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 insufficient output encoding or sanitisation of user-supplied input that is reflected back in a web page.
What the attacker needed
Victim clicks a crafted link
The fix
The vulnerability was fixed on the master branch and is expected to be included in version 2022.07.
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.
Reflected cross-site scripting (XSS) happens when a website takes something a user typed or clicked (like a link) and puts it directly into a page without cleaning it. An attacker can craft a link that, when clicked, runs their own JavaScript code in the victim's browser. That code can then steal the victim's login cookies or act as the victim on the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.