CVEfocus › CVE database › CVE-2025-27793

CVE-2025-27793Vega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]

CVSS 5.3 MediumEPSS 0.9% (higher than 59% of CVEs)Published 2025-03-27Updated 2025-03-27Assigner: GitHub_M

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter.

CWE-79CWE-87

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10vega.jsFix pendingUBUNTU-CVE-2025-27793
Ubuntu 26.04vega.jsUnder investigationUBUNTU-CVE-2025-27793
Ubuntu 25.10vega.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-27793
Ubuntu 24.04vega.jsUnder investigationUBUNTU-CVE-2025-27793
Debian 14vega.jsFixed5.33.1+ds+~cs5.3.0-1DEBIAN-CVE-2025-27793
Debian 13vega.jsFix pendingDEBIAN-CVE-2025-27793
Debian 12vega.jsFix pendingDEBIAN-CVE-2025-27793
npm libraryvegaFixed5.32.0GHSA-963h-3v39-3pqf
npm libraryvega-functionsFixed5.17.0GHSA-963h-3v39-3pqf

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.