CVE-2022-1571
PHP vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in the Create Subaccount feature of GitHub repository neorazorx/facturascripts prior to version 2022.07. The vulnerability was assigned CVE-2022-1571 and was disclosed on May 4, 2022. This security flaw affected the facturascripts application and could allow attackers to execute arbitrary JavaScript code (NVD, CVE).

Technical details

The vulnerability is a reflected cross-site scripting (XSS) issue that exists in the Create Subaccount functionality. When exploited, it allows attackers to execute arbitrary JavaScript code which could be used to steal user cookies, perform unauthorized HTTP requests, and access content from same-origin pages (NVD).

Impact

The successful exploitation of this vulnerability could allow attackers to steal user cookies, perform unauthorized HTTP requests on behalf of the victim, and access content from same-origin pages. This could potentially lead to unauthorized access to user accounts and sensitive information (NVD).

Mitigation and workarounds

The vulnerability was fixed in facturascripts version 2022.07. The fix involved implementing proper HTML escaping for model fields to improve security. Users are advised to upgrade to version 2022.07 or later to address this vulnerability (GitHub).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management