CVE-2025-2336

AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'

Published Jun 4, 2025 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' SVG elements in AngularJS's 'ngSanitize' module allows attackers to bypass common image source restrictions. This can lead to a form of Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing  and also negatively affect the application's performance and behavior by using too large or slow-to-load images.

This issue affects AngularJS versions greater than or equal to 1.3.1.

Note:
The AngularJS project is End-of-Life and will not receive any updates to address this issue. For more information see here https://docs.angularjs.org/misc/version-support-status .

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4242-1 angular.js security update
EUVD EUVD EUVD-2025-16899 AngularJS Incomplete Filtering of Special Elements vulnerability
Github GHSA Github GHSA GHSA-4p4w-6hg8-63wx AngularJS Incomplete Filtering of Special Elements vulnerability
Ubuntu USN Ubuntu USN USN-7958-1 AngularJS vulnerabilities
History
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' SVG elements in AngularJS's 'ngSanitize' module allows attackers to bypass common image source restrictions. This can lead to a form of Content Spoofing https://owasp.org/www-community/attacks/Content_Spoofing  and also negatively affect the application's performance and behavior by using too large or slow-to-load images. This issue affects AngularJS versions greater than or equal to 1.3.1. Note: The AngularJS project is End-of-Life and will not receive any updates to address this issue. For more information see here https://docs.angularjs.org/misc/version-support-status .
Title AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'
Weaknesses CWE-791
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
HeroDevs
Published
Updated
Nov 3, 2025, 7:43 PM
Reserved
Mar 15, 2025, 11:48 AM
Status
Deferred
Published
Jun 4, 2025, 5:15 PM
Modified
Jun 17, 2026, 9:06 AM