CVE-2023-28444
published critical CVSS 3.1 · 9.9angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| kyubisation | — | angular-server-side-configuration>= 15.0.0, < 15.1.0 | Affected | Not stated | GitHub_M |
Description
angular-server-side-configuration helps configure an angular application at runtime on the server or in a docker container via environment variables. angular-server-side-configuration detects used environment variables in TypeScript (.ts) files during build time of an Angular CLI project. The detected environment variables are written to a ngssc.json file in the output directory. During deployment of an Angular based app, the environment variables based on the variables from ngssc.json are inserted into the apps index.html (or defined index file). With version 15.0.0 the environment variable detection was widened to the entire project, relative to the angular.json file from the Angular CLI. In a monorepo setup, this could lead to environment variables intended for a backend/service to be detected and written to the ngssc.json, which would then be populated and exposed via index.html. This has NO IMPACT, in a plain Angular project that has no backend component. This vulnerability has been mitigated in version 15.1.0, by adding an option `searchPattern` which restricts the detection file range by default. As a workaround, manually edit or create ngssc.json or run script after ngssc.json generation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kyubisation | angular-server-side-configuration | >= 15.0.0, < 15.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-538 CWE-538: Insertion of Sensitive Information into Externally-Accessible File or Directory
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
3- https://github.com/kyubisation/angular-server-side-configuration/commit/d701f51260637a84ede278e248934e0437a7ff86
- https://github.com/kyubisation/angular-server-side-configuration/releases/tag/v15.1.0
- https://github.com/kyubisation/angular-server-side-configuration/security/advisories/GHSA-gwvm-vrp4-4pp5
Provider assertions
3GitHub_M · cna
angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e92f7f69059bb46da3c9e33d726c4b8aa5e3abe4cfd0ae5fd79a10475b7485bc
- Ingested
- 23 Sep 2026, 08:07:45 UTC
- Source record
- Official CVE record