angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kyubisation | angular-server-side-configuration | 15.0.0 to before 15.1.0 | 15.1.0 | Patch available | CNA |
| — | angular-server-side-configuration (npm) | 15.0.0 to before 15.1.0 | 15.1.0 | Patch available | GHSA-gwvm-vrp4-4pp5 |
- angular-server-side-configuration Vendorkyubisation Affected 15.0.0 to before 15.1.0 Fixed in 15.1.0 Patch available CNA
- angular-server-side-configuration (npm) Vendor— Affected 15.0.0 to before 15.1.0 Fixed in 15.1.0 Patch available GHSA-gwvm-vrp4-4pp5
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:angular-server-side-configuration_project:angular-server-side-configuration:*:*:*:*:*:*:*:* | 15.0.0 to before 15.1.0 | Vulnerable | Angular-server-side-configuration Project |
- cpe:2.3:a:angular-server-side-configuration_project:angular-server-side-configuration:*:*:*:*:*:*:*:* Versions 15.0.0 to before 15.1.0 Vulnerable ·Angular-server-side-configuration Project
Remediation
- Fix · CNA angular-server-side-configuration (kyubisation) Fixed in 15.1.0
- Fix · GHSA-gwvm-vrp4-4pp5 angular-server-side-configuration (npm) Fixed in 15.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28444
- 2026-10-03 Alias added: GHSA-gwvm-vrp4-4pp5
References
Advisory 3
Sources
- CVE-2023-28444 · CVE Program
- CVE-2023-28444 · NVD
- FIRST EPSS
- GHSA-gwvm-vrp4-4pp5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences