CVE-2025-2336
published medium CVSS 3.1 · 4.8AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| — | angular-sanitizeAngularJS · >=1.3.1 · Other versions: unaffected | Affected | Not stated | HeroDevs | |
| Debian | bullseye | angular.js | Advisory build | 1.8.3-1+deb12u1~deb11u1 | DLA-4242-1 |
| Ubuntu | bionic | angular.js | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | bionic | libjs-angularjs | Advisory build | 1.5.10-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | focal | angular.js | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | focal | libjs-angularjs | Advisory build | 1.7.9-1ubuntu0.1~esm1 | USN-7958-1 |
| Ubuntu | jammy | angular.js | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
| Ubuntu | jammy | libjs-angularjs | Advisory build | 1.8.2-2ubuntu0.1 | USN-7958-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | angular.js | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
| Ubuntu | noble | libjs-angularjs | Advisory build | 1.8.3-1ubuntu0.24.04.1 | USN-7958-1 |
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 .
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- HeroDevs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AngularJS | >=1.3.1 (affected · semver)Default: unaffected | HeroDevs · cna |
Weaknesses
1- CWE-791 CWE-791: Incomplete Filtering of Special Elements
References
4Provider assertions
3HeroDevs · cna
AngularJS improper sanitization in SVG '<image>' element with 'ngSanitize'
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3db3b7420841b14d70738ae4d18d0d65961fe978629f905e29d890e91d2ce298
- Ingested
- 23 Sep 2026, 08:43:29 UTC
- Source record
- Official CVE record