KeygraphLabs · CVE MCP

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.

CVSS
5.4
medium, from NVD
EPSS
0.69%
percentile 54.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-09Published
2022-06-10Package advisory GHSA-j8c7-3jpq-8985
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.66%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-j8c7-3jpq-8985facturascripts/facturascripts (Packagist)no fix yet

Also known as: GHSA-j8c7-3jpq-8985

Related

CVEPublishedCVSSSummary
CVE-2026-775262026-12-049.9FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE
CVE-2026-457102026-12-043.5FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`
CVE-2026-476772026-12-049.3FacturaScripts: account takeover of any 2FA-enabled user
CVE-2026-456932026-12-047.5FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents
CVE-2026-452632026-12-048FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export
CVE-2026-452622026-12-049.9FacturaScripts: Authenticated SQL injection in the REST API filter parameter via parenthesis bypass in `Where::sqlColumn`
CVE-2026-428772026-05-275.4FacturaScripts: Stored XSS via product reference in sales/purchases
CVE-2026-428792026-05-276.3FacturaScripts: 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.

NVD · CVE.org