Cross-site Scripting in facturascripts
A reflected cross-site scripting vulnerability existed in facturascripts before version 2022.08, allowing an attacker to inject a URL-based payload. This could let an attacker steal a user's cookies, potentially leading to account takeover or other malicious actions in the victim's browser.
neorazorx/facturascripts
Originally disclosed on huntr
Reflected cross-site scripting using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.08. This can lead to theft of a user's cookies, which in turn could lead to account takeover or do other malicious activities in a victim's browser.
From the GitHub Advisory Database (GHSA-6465-r752-2h8v, 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 reflected user-controlled input from the URL into a web page without proper encoding or validation.
Impact
An attacker could steal a user's cookies, which could lead to account takeover or other malicious activities in the victim's browser.
What the attacker needed
Victim clicks a crafted link
The fix
It was fixed in version 2022.08.
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.
Cross-site scripting (XSS) is a flaw where a website shows user-supplied content without cleaning it, so an attacker can sneak in code that runs in a victim's browser. Here, the code could be placed in a URL, and when someone visits that link, the code runs and can steal the victim's login cookies. Cookies are small pieces of data that keep you logged in, so stealing them can let an attacker act as you.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.