Skip to content
XSS Disclosed report Beginner CVE-2022-1571

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).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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.

More from neorazorx/facturascripts

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.