CVE-2022-1457: Cross site scripting in facturascripts
9
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.57073%
CWE
Published
4/26/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
neorazorx/facturascripts | composer | < 2022.04 | 2022.04 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence comes from the patch diff showing the addition of HTML sanitization (self::toolBox()::utils()::noHtml()) to the $newValue assignment in setColumnOption. This function handles user-controlled 'title' parameter input for page options. Before the patch, the lack of output encoding made stored XSS possible when rendering these titles. The vulnerability matches the CVE description of XSS in title parameters affecting user/product edit pages.