Skip to content

1019326: Resolved dependabot issues by updating angular dependency#16

Open
BalajiLoganathanSF4826 wants to merge 1 commit intomainfrom
EJ2-1019326-dep
Open

1019326: Resolved dependabot issues by updating angular dependency#16
BalajiLoganathanSF4826 wants to merge 1 commit intomainfrom
EJ2-1019326-dep

Conversation

@BalajiLoganathanSF4826
Copy link
Copy Markdown
Collaborator

Bug description

Dependabot flagged an outdated and vulnerable version of angular in package.json.
The existing version (10.0.0) contained security advisories and compatibility warnings. Updating was required to maintain dependency stability and remove security alerts.

Root cause

The project was using an older angular (10.0.0) version that Dependabot identified as vulnerable or outdated. This caused dependency mismatch risks, potential security exposure, and triggered automated alerts. The version was not aligned with the recommended patch level for the framework used.

Solution description

Updated angular to the latest compatible patch version 19.2.20 as recommended by Dependabot.
This resolves the security alert, ensures dependency consistency, and improves build/runtime stability for the React PDF Viewer examples.

The following issues will be resolved by this change:

high - Angular i18n vulnerable to Cross-Site Scripting
high - Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
high - Angular has XSS Vulnerability via Unsanitized SVG Script Attributes
high - Angular Stored XSS Vulnerability via SVG Animation, SVG URL and MathML Attributes
high - Angular is Vulnerable to XSRF Token Leakage via Protocol-Relative URLs in Angular HTTP Client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant