Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fuxa-server
  4. ›
  5. CVE-2026-47720

CVE-2026-47720: FUXA has SQL Injection in its TDengine DAQ connector via backslash bypass of escapeTdString

June 8, 2026

The TDengine DAQ storage connector’s escapeTdString at server/runtime/storage/tdengine/index.js:10 doubles single quotes but does not escape backslashes. TDengine’s SQL parser treats \' as a literal single quote inside a string, so a tag id of the form x\' OR 1=1-- escapes the first single quote, lets the doubled quote close the string, and appends an injected clause that runs on the TDengine server. An attacker (Alice) sends the crafted sids value through GET /api/daq or the Socket.IO DAQ_QUERY event and reads every row in fuxa.meters, which holds the historical tag values of every PLC the FUXA instance records.

References

  • github.com/advisories/GHSA-h9fj-c2qr-76g2
  • github.com/frangoteam/FUXA/security/advisories/GHSA-h9fj-c2qr-76g2
  • nvd.nist.gov/vuln/detail/CVE-2026-47720

Code Behaviors & Features

Detect and mitigate CVE-2026-47720 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.1.14-1243

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/fuxa-server/CVE-2026-47720.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:50 +0000.