Skip to content

CVE-2025-0716 AngularJS improper sanitization in SVG '<image>' element

MediumCVSS 4.8 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Improper sanitization of the value of the 'href' and 'xlink:href' attributes in '<image>' SVG elements in AngularJS 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 all versions of AngularJS.

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 .

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/angular.js(Debian 12) < 1.8.3-1+deb12u1; = 1.8.3-1; = 1.8.3-1+deb12u1~deb11u1 1.8.3-1+deb12u1 Fixed
debian/angular.js(Debian 13) < 1.8.3-2 1.8.3-2 Fixed
npm angular(npm) <= 1.8.3; = >=0.0.0 after 1.8.3 Fixed
ubuntu/angular.js(Ubuntu 22.04) < 1.8.2-2ubuntu0.1 1.8.2-2ubuntu0.1 Fixed
ubuntu/angular.js(Ubuntu 24.04) < 1.8.3-1ubuntu0.24.04.1 1.8.3-1ubuntu0.24.04.1 Fixed

Affected products

ProductAffected versionsFixed in
debian/angular.js(Debian:12) < 1.8.3-1+deb12u1 1.8.3-1+deb12u1
debian/angular.js(Debian:12) = 1.8.3-1 No fix listed
debian/angular.js(Debian:12) = 1.8.3-1+deb12u1~deb11u1 No fix listed
debian/angular.js(Debian:13) < 1.8.3-2 1.8.3-2
npm angular(npm) <= 1.8.3 No fix listed
npm angular(npm) = >=0.0.0 No fix listed
ubuntu/angular.js(Ubuntu:22.04) < 1.8.2-2ubuntu0.1 1.8.2-2ubuntu0.1
ubuntu/angular.js(Ubuntu:24.04) < 1.8.3-1ubuntu0.24.04.1 1.8.3-1ubuntu0.24.04.1

References