VDB
Sign up
MEDIUM6.1

GHSA-m8gv-gvhf-7rhp

Cross-site Scripting in FacturaScripts

Quick fix

GHSA-m8gv-gvhf-7rhp — facturascripts/facturascripts: upgrade to the fixed version with the command below.

composer require facturascripts/facturascripts:^2022.07

Details

FacturaScripts versions 2022.06 and prior are vulnerable to reflected cross-site scripting attacks. This vulnerability can use arbitrarily executed javascript code to steal users' cookies, perform HTTP request, get content of `same origin` page, etc. A fix is available on the `master` branch of the GitHub repository and anticipated to be part of version 2022.07.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/facturascripts/facturascripts
Introduced in: 0Fixed in: 2022.07
Fixcomposer require facturascripts/facturascripts:^2022.07

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/facturascripts/facturascripts"]}'