CVE-2023-28444 json
angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend
published 2023-03-24 3 y ago modified 2026-06-17 4 mo ago also GHSA-gwvm-vrp4-4pp5 , EUVD-2023-1019
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm angular-server-side-configuration 15.1.0
- angular-server-side-configuration_project angular-server-side-configuration 15.1.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.76% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | angular-server-side-configuration | >=15.0.0, <15.1.0 |
15.1.0 |
Affected products
- kyubisation angular-server-side-configuration
Classification
References
-
github.com
/kyubisation/angular-server-side-configuration/commit/d701f51260637a84ede278e248934e0437a7ff86
web, patch, third-party-advisory
-
github.com
/kyubisation/angular-server-side-configuration/security/advisories/GHSA-gwvm-vrp4-4pp5
web, third-party-advisory
-
github.com
/kyubisation/angular-server-side-configuration/releases/tag/v15.1.0
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-28444
advisory
-
github.com
/kyubisation/angular-server-side-configuration
package
Sources
- CVE List CVE-2023-28444
- GitHub Advisory GHSA-gwvm-vrp4-4pp5
- NVD CVE-2023-28444
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.