CVE-2025-69210: Facturascripts/facturascripts Cross-Site Scripting Vulnerability

HIGH
Advisory Identifier: GHSA-2267-xqcf-gw2m
CWE-79
Published
Advisory Summary

CVE-2025-69210 is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Facturascripts/facturascripts libraries in the Packagist ecosystem. The issue involves facturascripts is vulnerable to stored cross-site scripting (xss) via xml file upload. Remediation is available by upgrading affected packages to version 2025.7.

CVE-2025-69210 at a Glance

CVE Identifier CVE-2025-69210
GHSA Identifier GHSA-2267-xqcf-gw2m
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Facturascripts/facturascripts
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-69210

To remediate this vulnerability, upgrade all affected Facturascripts/facturascripts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

facturascripts/facturascripts fixed: 2025.7
Upgrade facturascripts/facturascripts to 2025.7
facturascripts/facturascripts fixed: Latest secure release
Upgrade facturascripts/facturascripts to Latest secure release
facturascripts/facturascripts fixed: Latest secure release
Upgrade facturascripts/facturascripts to Latest secure release
facturascripts/facturascripts fixed: Latest secure release
Upgrade facturascripts/facturascripts to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for facturascripts/facturascripts

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-69210, inspect your project dependencies for Facturascripts/facturascripts:

inspect dependencies for facturascripts/facturascripts

Analyze the terminal output to locate any version of Facturascripts/facturascripts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2025.7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Facturascripts/facturascripts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A stored cross-site scripting (XSS) vulnerability exists in the product file upload functionality. Authenticated users can upload crafted XML files containing executable JavaScript. These files are later rendered by the application without sufficient sanitization or content-type enforcement, allowing arbitrary JavaScript execution when the file is accessed. Because product files uploaded by regular users are visible to administrative users, this vulnerability can be leveraged to execute malicious JavaScript in an administrator’s browser session.

CVE-2025-69210 Affected Facturascripts/facturascripts Versions

4 component(s)
Fixed Versions:
2025.7
Product / Package Ecosystem Affected Versions Fixed Version
facturascripts/facturascripts
Packagist
< 2025.7
2025.7
facturascripts/facturascripts
Packagist
2025.11
All 1 versions
2025.11
None specified
facturascripts/facturascripts
Packagist
2025.41
All 1 versions
2025.41
None specified
facturascripts/facturascripts
Packagist
2025.43
All 1 versions
2025.43
None specified

References

Frequently Asked Questions

What is CVE-2025-69210?
CVE-2025-69210 is a security vulnerability in Facturascripts/facturascripts involving FacturaScripts is Vulnerable to Stored Cross-Site Scripting (XSS) via XML File Upload under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Facturascripts/facturascripts versions are affected?
Affected versions include releases prior to 2025.7 across affected packages: facturascripts/facturascripts.
What version fixes CVE-2025-69210?
Upgrading to 2025.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is facturascripts/facturascripts affected?
Yes, facturascripts/facturascripts is affected in releases prior to 2025.7, Latest secure release. Upgrade your dependency to 2025.7, Latest secure release or later.
What CWE is associated with CVE-2025-69210?
CVE-2025-69210 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2025-69210?
Run the dependency tree command: 'inspect dependencies for facturascripts/facturascripts'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2267-xqcf-gw2m",
  "modified" : "2026-01-02T22:51:51Z",
  "published" : "2025-12-30T20:52:21Z",
  "aliases" : [ "CVE-2025-69210" ],
  "summary" : "FacturaScripts is Vulnerable to Stored Cross-Site Scripting (XSS) via XML File Upload",
  "details" : "A stored cross-site scripting (XSS) vulnerability exists in the product file upload functionality.\n\nAuthenticated users can upload crafted XML files containing executable JavaScript. These files are later rendered by the application without sufficient sanitization or content-type enforcement, allowing arbitrary JavaScript execution when the file is accessed.\n\nBecause product files uploaded by regular users are visible to administrative users, this vulnerability can be leveraged to execute malicious JavaScript in an administrator’s browser session.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "facturascripts/facturascripts"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2025.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2025.4"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "facturascripts/facturascripts"
    },
    "versions" : [ "2025.11" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "facturascripts/facturascripts"
    },
    "versions" : [ "2025.41" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "facturascripts/facturascripts"
    },
    "versions" : [ "2025.43" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-2267-xqcf-gw2m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-69210"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NeoRazorX/facturascripts/commit/e908ade21c84bdc9d51190057482316730c66146"
  }, {
    "type" : "WEB",
    "url" : "https://facturascripts.com/publicaciones/ya-disponible-facturascripts-2025-7"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/NeoRazorX/facturascripts"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/NeoRazorX/facturascripts/releases/tag/v2025.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-30T20:52:21Z",
    "nvd_published_at" : "2025-12-30T20:16:01Z"
  }
}