Skip to content
Heist/ feed
Back to feed
Critical

SQLpage vulnerable to public exposure of database credentials

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-42454
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:14 UTC · Revision 1

Source evidence

SQLpage vulnerable to public exposure of database credentials

core-osv · Original source

Published 18 Sept 2023, 21:36 UTC

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.

osv:CVE-2023-42454
Complete source record
{
  "id": "db9d067b976764b6b4e8ced8e63d11f233472830528c907eca71a7d9ae7d17c7",
  "url": "https://osv.dev/vulnerability/CVE-2023-42454",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SQLpage vulnerable to public exposure of database credentials",
    "summary": "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.",
    "evidence": "osv:CVE-2023-42454",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-42454",
      "aliases": [
        "CVE-2023-42454",
        "GHSA-v5wf-jg37-r9m5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sqlpage/SQLPage",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cd65c35bf660cc14b5309d79d4646339404dd904"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cd65c35bf660cc14b5309d79d4646339404dd904"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.11.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.11.0",
            "v0.11.0-beta",
            "v0.10.4-beta1",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.5",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.8.0-beta",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.12",
            "v0.6.11",
            "v0.6.10",
            "v0.6.9",
            "v0.6.8",
            "v0.6.7",
            "v0.6.6",
            "v0.6.5",
            "v0.6.4",
            "v0.6.3",
            "v0.6.2",
            "v0.6.0",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.5",
            "v0.4.4",
            "v0.4.3",
            "v0.4.2",
            "v0.4.1",
            "v0.1.1",
            "v0.1.0",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42454.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.499642117Z",
      "provider": "osv",
      "references": [
        "https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42454.json",
        "https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-42454",
        "https://github.com/lovasoa/SQLpage/issues/89"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42454.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-42454",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522119,
  "published_at": "2023-09-18T21:36:02.842+00:00"
}