# CVE-2023-42454: SQLpage vulnerable to public exposure of database credentials

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 57% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-18T21:36:02.842Z
- Modified: 2026-09-10T03:50:03.303Z
- Also known as: GHSA-v5wf-jg37-r9m5
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lovasoa SQLpage: < 0.11.1; before 0.11.1
- sqlpage (crates.io): before 0.11.1

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/lovasoa/SQLpage/security/advisories/GHSA-v5wf-jg37-r9m5> (exploit, patch, third-party-advisory, web)
- <https://github.com/lovasoa/SQLpage/issues/89> (issue-tracking, patch, web)
- <https://github.com/lovasoa/SQLpage/releases/tag/v0.11.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42454> (advisory)
- <https://github.com/lovasoa/SQLpage> (package)

## Sources

- CVE List: [CVE-2023-42454](https://www.cve.org/CVERecord?id=CVE-2023-42454), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-v5wf-jg37-r9m5](https://github.com/advisories/GHSA-v5wf-jg37-r9m5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-42454](https://nvd.nist.gov/vuln/detail/CVE-2023-42454), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42454 · Whole record: https://cve.day/CVE-2023-42454.json · Rebuilt by cve.day 2026-11-25T22:58:27.982Z
