Skip to main content

Technical information leak - Angular


Get technical information about the system, such as:

  • Angular version (ng-version).


Display technical information of the system.


Disable functionalities that give information about the components used such as names and versions.


Anonymous attacker from the Internet.

Expected Remediation Time

⌚ 30 minutes.


Default score using CVSS 3.1. It may change depending on the context of the vulnerability.


  • Attack vector: N
  • Attack complexity: H
  • Privileges required: N
  • User interaction: N
  • Scope: U
  • Confidentiality: L
  • Integrity: N
  • Availability: N


  • Exploit code madurity: U
  • Remediation level: X
  • Report confidence: X


  • Vector string: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:X/RC:X
  • Score:
    • Base: 3.7
    • Temporal: 3.4
  • Severity:
    • Base: Low
    • Temporal: Low

Code Examples

Compliant code

No functionalities that show technical information about the system

selector: '[data-app]',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
export class AppComponent {
constructor(private _elementRef: ElementRef) {

ngOnInit(): void {

Non compliant code

There is information in the code that displays the ng-version of the system

<app-root _nghost-iie-c28="" ng-version="11.0.4"><router-outlet _ngcontent-iie-c28="">


free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.