CVE-2025-2336

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

MEDIUM
4.8
CVSS Score
Published: June 4, 2025 at 04:32 PM UTC
Updated: June 17, 2026 at 09:06 AM UTC
1 product affected across 1 vendorAngularJS

Using AngularJS by Google?

Get instant alerts when new vulnerabilities affect AngularJS - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 0.3%
SSVC
PoC

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 .

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (4)

Technical DescriptionExploit
Source: 36c7be3b-2937-45df-85ea-ca7133ea542c
https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c
Third Party Advisory
Source: 36c7be3b-2937-45df-85ea-ca7133ea542c
https://www.herodevs.com/vulnerability-directory/cve-2025-2336
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.8MEDIUMHeroDevs
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-791

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card