CVE-2025-2336
AngularJS SVG Image Content Spoofing Vulnerability
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 .
INFO
Published Date :
June 4, 2025, 5:15 p.m.
Last Modified :
June 5, 2025, 8:12 p.m.
Source :
36c7be3b-2937-45df-85ea-ca7133ea542c
Remotely Exploitable :
Yes !
Impact Score :
2.5
Exploitability Score :
2.2
Affected Products
The following products are affected by CVE-2025-2336
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-2336
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-2336
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-2336
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 04, 2025
Action Type Old Value New Value Added Reference https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes -
New CVE Received by 36c7be3b-2937-45df-85ea-ca7133ea542c
Jun. 04, 2025
Action Type Old Value New Value Added Tag unsupported-when-assigned 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 . Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L Added CWE CWE-791 Added Reference https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c Added Reference https://www.herodevs.com/vulnerability-directory/cve-2025-2336
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-2336
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-2336
weaknesses.