CVE-2022-2016 · @huntrdev
Cross-site Scripting (XSS) - Reflected in neorazorx/facturascripts
Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.1.
Published 2022-06-09, last changed 2026-06-17. Weakness: CWE-79.
Where the flaw is in the code
Fixed in neorazorx/facturascripts by 7b4ddb9269. Functions changed by the fix: test. Regression tests: Test/Core/Model/BalanceTest.php, Test/Core/Model/IdentificadorFiscalTest.php. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2022-06-09 | Published |
| 2022-06-10 | Package advisory GHSA-j8c7-3jpq-8985 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.66% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-j8c7-3jpq-8985 | facturascripts/facturascripts (Packagist) | no fix yet |
Also known as: GHSA-j8c7-3jpq-8985
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-77526 | 2026-12-04 | 9.9 | FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE |
| CVE-2026-45710 | 2026-12-04 | 3.5 | FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=` |
| CVE-2026-47677 | 2026-12-04 | 9.3 | FacturaScripts: account takeover of any 2FA-enabled user |
| CVE-2026-45693 | 2026-12-04 | 7.5 | FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents |
| CVE-2026-45263 | 2026-12-04 | 8 | FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export |
| CVE-2026-45262 | 2026-12-04 | 9.9 | FacturaScripts: Authenticated SQL injection in the REST API filter parameter via parenthesis bypass in `Where::sqlColumn` |
| CVE-2026-42877 | 2026-05-27 | 5.4 | FacturaScripts: Stored XSS via product reference in sales/purchases |
| CVE-2026-42879 | 2026-05-27 | 6.3 | FacturaScripts: Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2022-2016, or call /api/v1/vulnerabilities/CVE-2022-2016. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.