{"id":"GHSA-h9fj-c2qr-76g2","revision":null,"records":[{"revision":"4ab4f014e92f494ea659c8db562450d5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-47720","aliases":[],"title":"FUXA: SQL injection in TDengine DAQ connector via backslash bypass of escapeTdString","description":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Prior to 1.3.2, the TDengine DAQ storage connector's escapeTdString function in server/runtime/storage/tdengine/index.js doubles single quotes but does not escape backslashes. A remote unauthenticated attacker can submit a crafted sids tag identifier through GET /api/daq or the Socket.IO DAQ_QUERY event so TDengine interprets the backslash and quote sequence as SQL syntax. The injected query can return every row from fuxa.meters, exposing historical PLC tag values, device identifiers, and device names even when FUXA authentication is enabled. This issue is fixed in version 1.3.2.","state":0,"publishedAt":"2026-08-18T19:58:26.111+00:00","modifiedAt":"2026-08-19T13:10:57.66+00:00","affected":[{"ecosystem":"Vendor product","name":"FUXA","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"frangoteam\",\n                    \"product\": \"FUXA\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.3.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/frangoteam/FUXA/security/advisories/GHSA-h9fj-c2qr-76g2","https://github.com/frangoteam/FUXA/pull/2343","https://github.com/frangoteam/FUXA/commit/b78f6159d02a56ce5ff48207feb936afb3534fc8","https://github.com/frangoteam/FUXA/releases/tag/v1.3.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-47720","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-47720","identifiers":["CVE-2026-47720"]},"retained":false,"historicalAffected":[]},{"revision":"b08ddc3e680b402e9389bda9682aa3c4","observedAt":"2026-11-19T16:07:08.323+00:00","statement":{"source":"euvd","id":"EUVD-2026-61207","aliases":["CVE-2026-47720","GHSA-h9fj-c2qr-76g2"],"title":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Prior to 1.3.2, the TDengine DAQ storage connector's escapeTdString function in server/runtime/storage/tdengine/index.js doubles single quotes but does not escape bac…","description":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Prior to 1.3.2, the TDengine DAQ storage connector's escapeTdString function in server/runtime/storage/tdengine/index.js doubles single quotes but does not escape backslashes. A remote unauthenticated attacker can submit a crafted sids tag identifier through GET /api/daq or the Socket.IO DAQ_QUERY event so TDengine interprets the backslash and quote sequence as SQL syntax. The injected query can return every row from fuxa.meters, exposing historical PLC tag values, device identifiers, and device names even when FUXA authentication is enabled. This issue is fixed in version 1.3.2.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"severity":null}],"references":["https://github.com/frangoteam/FUXA/security/advisories/GHSA-h9fj-c2qr-76g2","https://github.com/frangoteam/FUXA/pull/2343","https://github.com/frangoteam/FUXA/commit/b78f6159d02a56ce5ff48207feb936afb3534fc8","https://github.com/frangoteam/FUXA/releases/tag/v1.3.2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-61207","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 18, 2026, 7:58:26 PM","dateUpdated":"Aug 19, 2026, 1:10:57 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-61207","identifiers":["EUVD-2026-61207","CVE-2026-47720","GHSA-h9fj-c2qr-76g2"]},"retained":false,"historicalAffected":[]},{"revision":"0d93da94afdf45899936f5a200941c3c","observedAt":"2026-11-10T16:25:39.299+00:00","statement":{"source":"nvd","id":"CVE-2026-47720","aliases":[],"title":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Prior to 1.3.2, the TDengine DAQ storage connector's escapeTdString function in server/runtime/storage/tdengine/index.js doubles single quotes but does not escape bac…","description":"FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Prior to 1.3.2, the TDengine DAQ storage connector's escapeTdString function in server/runtime/storage/tdengine/index.js doubles single quotes but does not escape backslashes. A remote unauthenticated attacker can submit a crafted sids tag identifier through GET /api/daq or the Socket.IO DAQ_QUERY event so TDengine interprets the backslash and quote sequence as SQL syntax. The injected query can return every row from fuxa.meters, exposing historical PLC tag values, device identifiers, and device names even when FUXA authentication is enabled. This issue is fixed in version 1.3.2.","state":0,"publishedAt":"2026-08-18T20:17:15.25+00:00","modifiedAt":"2026-11-09T20:10:00.2+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/frangoteam/FUXA/commit/b78f6159d02a56ce5ff48207feb936afb3534fc8","https://github.com/frangoteam/FUXA/pull/2343","https://github.com/frangoteam/FUXA/releases/tag/v1.3.2","https://github.com/frangoteam/FUXA/security/advisories/GHSA-h9fj-c2qr-76g2"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-47720","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-89"],"productCriteria":[],"sourceDates":{"published":"2026-08-18T20:17:15.250","lastModified":"2026-11-09T20:10:00.200"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-47720","identifiers":["CVE-2026-47720"]},"retained":false,"historicalAffected":[]},{"revision":"1a0aab6087704a11a7fbead44efa96ad","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-h9fj-c2qr-76g2","aliases":["CVE-2026-47720"],"title":"FUXA has SQL Injection in its TDengine DAQ connector via backslash bypass of escapeTdString","description":"## Summary\n\nThe 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.\n\n## Details\n\nThe TDengine DAQ storage connector did not correctly sanitize user-controlled values before including them in SQL queries.\n\nA specially crafted tag identifier could bypass the intended escaping logic and alter the query executed against the TDengine database.\n\nThis could allow unauthorized access to historical DAQ data stored in TDengine, including recorded tag values and related metadata.\n\nThe issue has been fixed in version 1.3.2 by improving input escaping in the TDengine connector.\n\n## Impact\n\nAn attacker with network access to a FUXA instance configured with TDengine as the DAQ backend reads the entire historical tag-value archive: every PLC tag the instance has recorded, plus the associated device ids and device names. Turning on authentication does not close the gap: the Socket.IO `DAQ_QUERY` handler has no authorization check, and `/api/daq` accepts guest-level requests. No login is needed in the default configuration.\n\n**CVSS 3.1**: `AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N` (Medium, 5.3). CWE-89.\n---\nA fix is available at https://github.com/frangoteam/FUXA/releases/tag/v1.3.2.\n\n---\n*Found by [aisafe.io](https://aisafe.io)*","state":0,"publishedAt":"2026-06-08T23:06:43+00:00","modifiedAt":"2026-06-08T23:26:36.280906+00:00","affected":[{"ecosystem":"npm","name":"fuxa-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"1.1.14-1243"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/frangoteam/FUXA/security/advisories/GHSA-h9fj-c2qr-76g2","https://github.com/frangoteam/FUXA"],"sourceUrl":"https://github.com/advisories/GHSA-h9fj-c2qr-76g2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h9fj-c2qr-76g2","identifiers":["GHSA-h9fj-c2qr-76g2","CVE-2026-47720"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-21T10:15:51.4859711+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-21T10:15:51.4859711+00:00","lastSuccessAt":"2026-11-21T10:15:51.6608873+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.6608893+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-1d6c61c44cf3e269b6d60ed2fe0a3aa1f7e55445c7f170f16f2fa063bbf73db3-5da6e3ace94cbb5c9e2b091cb03a7d6c352a3e819d4f8f5945874d8c4837f1f2","complete":true,"records":430096,"lastAttemptAt":"2026-11-21T10:15:50.9752124+00:00","lastSuccessAt":"2026-11-21T10:15:50.9515478+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:50.9752124+00:00","snapshotPublishedAt":"2026-11-21T09:19:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9462c29668b644988058d307209c366c","complete":false,"records":13919,"lastAttemptAt":"2026-11-21T10:25:54.5302887+00:00","lastSuccessAt":"2026-11-21T10:25:54.525+00:00","error":"148 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-21T10:25:54.525+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13501,"expectedIdentifiers":13967,"failedIdentifiers":148},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-21T10:15:51.4859711+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-21T10:15:51.4859711+00:00","lastSuccessAt":"2026-11-21T10:15:51.662096+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.6620968+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-459daae883e14496b736a12598a4afd9","complete":true,"records":13931,"lastAttemptAt":"2026-11-21T10:15:53.1510812+00:00","lastSuccessAt":"2026-11-21T10:15:53.143+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:53.143+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13967,"expectedIdentifiers":13967,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-99c78bee98bf8a60587f33f568944b12d3afe17ecc41437c57b47e2204cce04d","complete":true,"records":9989,"lastAttemptAt":"2026-11-21T10:15:51.3186924+00:00","lastSuccessAt":"2026-11-21T00:54:34.963487+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.3186924+00:00","snapshotPublishedAt":"2026-11-21T00:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-21T10:15:51.0904722+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.0904722+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2c09f95d48acb57436aa1dd2f0eec6f651dce8d1621b6978554be0f0b129faa4","complete":true,"records":3209,"lastAttemptAt":"2026-11-21T10:15:51.4483645+00:00","lastSuccessAt":"2026-11-20T23:48:55.8565941+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.4483645+00:00","snapshotPublishedAt":"2026-11-20T23:48:16+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-14439d295cda6d6706536c3efcb7f193a982609cf031218db7fa9ef26fdcc725","complete":true,"records":232850,"lastAttemptAt":"2026-11-21T10:15:51.2019557+00:00","lastSuccessAt":"2026-11-21T03:47:49.8245357+00:00","error":null,"lastVerifiedAt":"2026-11-21T10:15:51.2019557+00:00","snapshotPublishedAt":"2026-11-21T03:33:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}