{"id":"CVE-2021-4231","published":"2022-05-26T07:10:14Z","modified":"2025-04-15T14:38:13Z","title":"Angular Comment cross site scripting","vendor":"unspecified","product":"Angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01181,"percentile":0.68494,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"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","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":13.7},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"unspecified","affectedVersions":[{"vendor":"unspecified","product":"Angular","versions":["11.0.0","11.0.1","11.0.2","11.0.3","11.0.4","11.1.0-next.0","11.1.0-next.1","11.1.0-next.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T17:14:41.857765Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/core","vulnerableRanges":[">=11.0.0, <11.0.5",">=11.1.0-next.0, <11.1.0-next.3","<10.2.5"],"patched":["11.0.5","11.1.0-next.3","10.2.5"],"from":["GHSA-c75v-2vq8-878f"],"provenance":"source"}],"summary":{"text":"The Angular web framework, in versions up to 11.0.4 and 11.1.0-next.2, contains a cross-site scripting flaw in how it handles comments. An attacker can exploit it remotely by manipulating comment content, which requires user interaction and may also require the attacker to be authenticated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:29Z"},"euvd":{"id":"EUVD-2022-3522","exploited":false,"provenance":"source"}}