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

Cross site scripting in facturascripts

A stored cross-site scripting vulnerability existed in the title parameter of facturascripts, which executed on the EditUser and EditProducto pages. An attacker could inject malicious code that runs in other users' browsers, potentially stealing session cookies or performing actions as the victim.

neorazorx/facturascripts

Originally disclosed on huntr

Critical View original

facturasripts is an open source ERP software. Store XSS in title parameter executing at EditUser Page & EditProducto page in GitHub repository neorazorx/facturascripts prior to 2022.04. Cross-site scripting attacks can have devastating consequences. Code injected into a vulnerable application can exfiltrate data or install malware on the user's machine. Attackers can masquerade as authorized users via session cookies, allowing them to perform any action allowed by the user account.

From the GitHub Advisory Database (GHSA-8wp2-vxpg-xcvp, 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

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially exfiltrating data, installing malware, or performing actions as the victim via stolen session cookies.

What the attacker needed

Access to set a title field; victim views the affected page

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 displays user-supplied text without properly neutralising it, so a malicious script can run in another person's browser. Here, the 'title' field was not sanitised, so an attacker could save a script that would later run when someone viewed the user or product edit pages. This could let the attacker steal the victim's login session or act as them.

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.