Loading...
Skip to main content

CVE-2023-28444 — Vulnerability in...

CRITICAL

angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend

Published March 24, 2023Updated November 8, 2023Source: osv

Summary

### Impact 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 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. ### Patches Vulnerability has been mitigated in 15.1.0, by adding an option `searchPattern` which restricts the detection file range by default. ```bash # Update via npm npm update angular-server-side-configuration ## Or more specific npm install angular-server-side-configuration@15.1.0 # Update via pnpm pnpm update angular-server-side-configuration ## Or more specific pnpm add angular-server-side-configuration@15.1.0 # Update via yarn yarn update angular-server-side-configuration ## Or more specific yarn add angular-server-side-configuration@15.1.0 ``` ### Workarounds Manually edit or create ngssc.json or run a script after ngssc.json generation ### References

Advisory Timeline

  • First published March 24, 2023 (1298 days ago).
  • Last revised November 8, 2023 — 228 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update angular-server-side-configuration to 15.1.0 or later
npm install angular-server-side-configuration@15.1.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
angular-server-side-configuration
npm
All versions15.1.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L

Frequently Asked Questions

What is CVE-2023-28444?
angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2023-28444?
CVE-2023-28444 affects angular-server-side-configuration. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-28444 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-gwvm-vrp4-4pp5

Related CVEs

  • CVE-2026-107722
    CRITICAL

    fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion

  • CVE-2026-108261
    CRITICAL

    TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies