{"cve":"CVE-2023-42454","nvd":{"published":"2023-09-18T22:15:47.547","modified":"2026-06-17T06:23:51.927","status":"Modified","description":"SQLpage is a SQL-only webapp builder. Someone using SQLpage versions prior to 0.11.1, whose SQLpage instance is exposed publicly, with a database connection string specified in the `sqlpage/sqlpage.json` configuration file (not in an environment variable), with the web_root is the current working directory (the default), and with their database exposed publicly, is vulnerable to an attacker retrieving database connection information from SQLPage and using it to connect to their database directly. Version 0.11.0 fixes this issue. Some workarounds are available. Using an environment variable instead of the configuration file to specify the database connection string prevents exposing it on vulnerable versions. Using a different web root (that is not a parent of the SQLPage configuration directory) fixes the issue. One should also avoid exposing one's database publicly.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-200"],"references":["https://github.com/lovasoa/SQLpage/issues/89","https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1","https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5","https://github.com/lovasoa/SQLpage/issues/89","https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1"],"products":["lovasoa:sqlpage"],"source":"nvd","synced_at":"2026-10-19T21:39:24.235896374+00:00"},"epss":{"cve":"CVE-2023-42454","score":0.00742,"percentile":0.54689,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v5wf-jg37-r9m5","url":"https://osv.dev/vulnerability/GHSA-v5wf-jg37-r9m5","summary":"SQLpage vulnerable to public exposure of database credentials","modified":"2026-09-10T03:50:03.303288108Z","packages":[{"ecosystem":"crates.io","name":"sqlpage","purl":"pkg:cargo/sqlpage","ranges":["<0.11.1"],"fixed":["0.11.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}