{
    "containers": {
        "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",
                "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"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:23:10.322Z"
                },
                "title": "CVE Program Container",
                "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"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "assignerShortName": "VulDB",
        "cveId": "CVE-2021-4231",
        "datePublished": "2022-05-26T07:10:14",
        "dateReserved": "2022-05-26T00:00:00",
        "dateUpdated": "2024-08-03T17:23:10.322Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}