CVE-2021-4231: Angular Comment cross site scripting

Published May 26, 2022
·
Updated

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 10.2.5, 11.0.5 or 11.1.0-next.3 is advised to to address this issue.

Other sources

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.

Affected Software

11 affected componentsFixes available
npm/@angular/core<10.2.5
10.2.5
npm/@angular/core>=11.0.0<11.0.5
11.0.5
npm/@angular/core>=11.1.0-next.0<=11.1.0-next.2
11.1.0-next.3
angular Angular Node.js<11.0.5
angular Angular Node.js=11.1.0-next_0
angular Angular Node.js=11.1.0-next_1
angular Angular Node.js=11.1.0-next_2
angular Angular=11.1.0-next0
angular Angular=11.1.0-next1
angular Angular=11.1.0-next2
angularjs AngularJS<11.0.5

Event History

May 26, 2022
CVE Published
via MITRE·07:10 AM
Data Sourced
via MITRE·07:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 27, 2022
Advisory Published
12:01 AM
Jun 6, 2022
Data Sourced
via Red Hat·05:16 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-4231?

CVE-2021-4231 is classified as a problematic vulnerability that can lead to cross-site scripting.

2

How do I fix CVE-2021-4231?

To remediate CVE-2021-4231, update to Angular core version 10.2.5 or 11.0.5 or later.

3

What software is affected by CVE-2021-4231?

CVE-2021-4231 affects Angular versions up to 11.0.4 and 11.1.0-next.2.

4

Can CVE-2021-4231 be exploited remotely?

Yes, CVE-2021-4231 can be exploited remotely, but it may require authentication first.

5

What does CVE-2021-4231 vulnerability involve?

CVE-2021-4231 involves the handling of comments in Angular, leading to potential cross-site scripting attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203