Angular Comment cross site scripting
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@angular/corenpm | >= 11.0.0, < 11.0.5 | 11.0.5 |
@angular/corenpm | >= 11.1.0-next.0, < 11.1.0-next.3 | 11.1.0-next.3 |
@angular/corenpm | < 10.2.5 | 10.2.5 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/solrpkg:apk/chainguard/solr-oci-compatpkg:apk/wolfi/solrpkg:apk/wolfi/solr-oci-compatpkg:npm/%40angular/core
< 9.7.0-r1+ 4 more
- (no CPE)range: < 9.7.0-r1
- (no CPE)range: < 9.7.0-r1
- (no CPE)range: < 9.7.0-r1
- (no CPE)range: < 9.7.0-r1
- (no CPE)range: >= 11.0.0, < 11.0.5
- unspecified/Angularv5Range: 11.0.0
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-c75v-2vq8-878fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-4231ghsaADVISORY
- github.com/angular/angular/commit/0aa220bc0000fc4d1651ec388975bbf5baa1da36ghsaWEB
- github.com/angular/angular/commit/47d9b6d72dab9d60c96bc1c3604219f6385649eaghsaWEB
- github.com/angular/angular/commit/ba8da742e3b243e8f43d4c63aa842b44e14f2b09ghsax_refsource_MISCWEB
- github.com/angular/angular/issues/40136ghsax_refsource_MISCWEB
- security.snyk.io/vuln/SNYK-JS-ANGULARCORE-1070902ghsax_refsource_MISCWEB
- vuldb.comghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.