Vulnerabilites related to angular - angular
Vulnerability from fkie_nvd
Published
2022-05-26 14:15
Modified
2024-11-21 06:37
Summary
A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.
Impacted products
Vendor Product Version
angular angular *
angular angular 11.1.0
angular angular 11.1.0
angular angular 11.1.0



{
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:*",
                     matchCriteriaId: "5A6D9CF5-C960-47FC-B102-0C03D7B36E29",
                     versionEndExcluding: "11.0.5",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:angular:angular:11.1.0:next_0:*:*:*:node.js:*:*",
                     matchCriteriaId: "1D56DDCF-45E8-4B74-A2EC-67993A8BB983",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:angular:angular:11.1.0:next_1:*:*:*:node.js:*:*",
                     matchCriteriaId: "8F53A2ED-9AC4-43C7-AEC8-39CD29CC5C97",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:angular:angular:11.1.0:next_2:*:*:*:node.js:*:*",
                     matchCriteriaId: "9875CC1E-1DAD-455B-BD9C-C0DEF12E962E",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.",
      },
      {
         lang: "es",
         value: "Se ha encontrado una vulnerabilidad en Angular versiones hasta 11.0.4/11.1.0-next.2. Ha sido clasificada como problemática. Está afectada la manipulación de los comentarios. La manipulación conlleva  a un ataque de tipo cross site scripting. Es posible lanzar el ataque de forma remota, pero podría requerir una autenticación previa. La actualización a versiones 11.0.5 y 11.1.0-next.3 puede abordar este problema. El nombre del parche es ba8da742e3b243e8f43d4c63aa842b44e14f2b09. Es recomendado actualizar el componente afectado",
      },
   ],
   id: "CVE-2021-4231",
   lastModified: "2024-11-21T06:37:11.870",
   metrics: {
      cvssMetricV2: [
         {
            acInsufInfo: false,
            baseSeverity: "LOW",
            cvssData: {
               accessComplexity: "MEDIUM",
               accessVector: "NETWORK",
               authentication: "SINGLE",
               availabilityImpact: "NONE",
               baseScore: 3.5,
               confidentialityImpact: "NONE",
               integrityImpact: "PARTIAL",
               vectorString: "AV:N/AC:M/Au:S/C:N/I:P/A:N",
               version: "2.0",
            },
            exploitabilityScore: 6.8,
            impactScore: 2.9,
            obtainAllPrivilege: false,
            obtainOtherPrivilege: false,
            obtainUserPrivilege: false,
            source: "nvd@nist.gov",
            type: "Primary",
            userInteractionRequired: true,
         },
      ],
      cvssMetricV31: [
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 3.5,
               baseSeverity: "LOW",
               confidentialityImpact: "NONE",
               integrityImpact: "LOW",
               privilegesRequired: "LOW",
               scope: "UNCHANGED",
               userInteraction: "REQUIRED",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
               version: "3.1",
            },
            exploitabilityScore: 2.1,
            impactScore: 1.4,
            source: "cna@vuldb.com",
            type: "Secondary",
         },
         {
            cvssData: {
               attackComplexity: "LOW",
               attackVector: "NETWORK",
               availabilityImpact: "NONE",
               baseScore: 5.4,
               baseSeverity: "MEDIUM",
               confidentialityImpact: "LOW",
               integrityImpact: "LOW",
               privilegesRequired: "LOW",
               scope: "CHANGED",
               userInteraction: "REQUIRED",
               vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
               version: "3.1",
            },
            exploitabilityScore: 2.3,
            impactScore: 2.7,
            source: "nvd@nist.gov",
            type: "Primary",
         },
      ],
   },
   published: "2022-05-26T14:15:07.953",
   references: [
      {
         source: "cna@vuldb.com",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
      },
      {
         source: "cna@vuldb.com",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://github.com/angular/angular/issues/40136",
      },
      {
         source: "cna@vuldb.com",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
      },
      {
         source: "cna@vuldb.com",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://vuldb.com/?id.181356",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Patch",
            "Third Party Advisory",
         ],
         url: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://github.com/angular/angular/issues/40136",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         tags: [
            "Third Party Advisory",
         ],
         url: "https://vuldb.com/?id.181356",
      },
   ],
   sourceIdentifier: "cna@vuldb.com",
   vulnStatus: "Modified",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-79",
            },
         ],
         source: "cna@vuldb.com",
         type: "Secondary",
      },
      {
         description: [
            {
               lang: "en",
               value: "CWE-79",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}

cve-2021-4231
Vulnerability from cvelistv5
Published
2022-05-26 07:10
Modified
2025-04-15 14:38
Summary
A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.
Impacted products
Vendor Product Version
unspecified Angular Version: 11.0.0
Version: 11.0.1
Version: 11.0.2
Version: 11.0.3
Version: 11.0.4
Version: 11.1.0-next.0
Version: 11.1.0-next.1
Version: 11.1.0-next.2
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-03T17:23:10.322Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://github.com/angular/angular/issues/40136",
               },
               {
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
               },
               {
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
               },
               {
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://vuldb.com/?id.181356",
               },
            ],
            title: "CVE Program Container",
         },
         {
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2021-4231",
                        options: [
                           {
                              Exploitation: "none",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2025-04-14T17:14:41.857765Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2025-04-15T14:38:13.128Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
      ],
      cna: {
         affected: [
            {
               product: "Angular",
               vendor: "unspecified",
               versions: [
                  {
                     status: "affected",
                     version: "11.0.0",
                  },
                  {
                     status: "affected",
                     version: "11.0.1",
                  },
                  {
                     status: "affected",
                     version: "11.0.2",
                  },
                  {
                     status: "affected",
                     version: "11.0.3",
                  },
                  {
                     status: "affected",
                     version: "11.0.4",
                  },
                  {
                     status: "affected",
                     version: "11.1.0-next.0",
                  },
                  {
                     status: "affected",
                     version: "11.1.0-next.1",
                  },
                  {
                     status: "affected",
                     version: "11.1.0-next.2",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               value: "Miško Hevery",
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.",
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 3.5,
                  baseSeverity: "LOW",
                  confidentialityImpact: "NONE",
                  integrityImpact: "LOW",
                  privilegesRequired: "LOW",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                  version: "3.1",
               },
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-79",
                     description: "CWE-79 Cross Site Scripting",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2022-05-26T07:10:14.000Z",
            orgId: "1af790b2-7ee1-4545-860a-a788eba489b5",
            shortName: "VulDB",
         },
         references: [
            {
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/angular/angular/issues/40136",
            },
            {
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
            },
            {
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
            },
            {
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://vuldb.com/?id.181356",
            },
         ],
         title: "Angular Comment cross site scripting",
         x_generator: "vuldb.com",
         x_legacyV4Record: {
            CVE_data_meta: {
               ASSIGNER: "cna@vuldb.com",
               ID: "CVE-2021-4231",
               REQUESTER: "cna@vuldb.com",
               STATE: "PUBLIC",
               TITLE: "Angular Comment cross site scripting",
            },
            affects: {
               vendor: {
                  vendor_data: [
                     {
                        product: {
                           product_data: [
                              {
                                 product_name: "Angular",
                                 version: {
                                    version_data: [
                                       {
                                          version_value: "11.0.0",
                                       },
                                       {
                                          version_value: "11.0.1",
                                       },
                                       {
                                          version_value: "11.0.2",
                                       },
                                       {
                                          version_value: "11.0.3",
                                       },
                                       {
                                          version_value: "11.0.4",
                                       },
                                       {
                                          version_value: "11.1.0-next.0",
                                       },
                                       {
                                          version_value: "11.1.0-next.1",
                                       },
                                       {
                                          version_value: "11.1.0-next.2",
                                       },
                                    ],
                                 },
                              },
                           ],
                        },
                        vendor_name: "",
                     },
                  ],
               },
            },
            credit: "Miško Hevery",
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "eng",
                     value: "A vulnerability was found in Angular up to 11.0.4/11.1.0-next.2. It has been classified as problematic. Affected is the handling of comments. The manipulation leads to cross site scripting. It is possible to launch the attack remotely but it might require an authentication first. Upgrading to version 11.0.5 and 11.1.0-next.3 is able to address this issue. The name of the patch is ba8da742e3b243e8f43d4c63aa842b44e14f2b09. It is recommended to upgrade the affected component.",
                  },
               ],
            },
            generator: "vuldb.com",
            impact: {
               cvss: {
                  baseScore: "3.5",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N",
                  version: "3.1",
               },
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "eng",
                           value: "CWE-79 Cross Site Scripting",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://github.com/angular/angular/issues/40136",
                     refsource: "MISC",
                     url: "https://github.com/angular/angular/issues/40136",
                  },
                  {
                     name: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
                     refsource: "MISC",
                     url: "https://github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09",
                  },
                  {
                     name: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
                     refsource: "MISC",
                     url: "https://security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902",
                  },
                  {
                     name: "https://vuldb.com/?id.181356",
                     refsource: "MISC",
                     url: "https://vuldb.com/?id.181356",
                  },
               ],
            },
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "1af790b2-7ee1-4545-860a-a788eba489b5",
      assignerShortName: "VulDB",
      cveId: "CVE-2021-4231",
      datePublished: "2022-05-26T07:10:14.000Z",
      dateReserved: "2022-05-26T00:00:00.000Z",
      dateUpdated: "2025-04-15T14:38:13.128Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
}