CVE-2025-2336
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 .
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
- Puntuación base: 4.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.31%
- Percentil entre todas las CVEs puntuadas: 21
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-791
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2025-2336",
"cveTags": [
{
"tags": [
"unsupported-when-assigned"
],
"sourceIdentifier": "36c7be3b-2937-45df-85ea-ca7133ea542c"
}
],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-2336",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-06-04T18:14:00.546895Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 4.8,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "LOW",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 2.5,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"affectedData": [
{
"repo": "https://github.com/angular/angular.js",
"vendor": "Google",
"product": "AngularJS",
"versions": [
{
"status": "affected",
"version": ">=1.3.1",
"versionType": "semver"
}
],
"packageName": "angular-sanitize",
"collectionURL": "https://registry.npmjs.org",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2025-06-04T17:15:28.643",
"references": [
{
"url": "https://codepen.io/herodevs/pen/bNGYaXx/412a3a4218387479898912f60c269c6c",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://www.herodevs.com/vulnerability-directory/cve-2025-2336",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2025/07/msg00005.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://www.herodevs.com/vulnerability-directory/cve-2025-2336?angularjs-nes",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "36c7be3b-2937-45df-85ea-ca7133ea542c",
"description": [
{
"lang": "en",
"value": "CWE-791"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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.\n\nThis issue affects AngularJS versions greater than or equal to 1.3.1.\n\nNote:\nThe 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 ."
},
{
"lang": "es",
"value": "La depuración incorrecta del valor de los atributos 'href' y 'xlink:href' en los elementos SVG '' del módulo 'ngSanitize' de AngularJS permite a los atacantes eludir las restricciones comunes de las fuentes de imágenes. Esto puede provocar suplantación de contenido (https://owasp.org/www-community/attacks/Content_Spoofing) y afectar negativamente el rendimiento y el comportamiento de la aplicación al usar imágenes demasiado grandes o de carga lenta. Este problema afecta a las versiones de AngularJS posteriores o iguales a la 1.3.1. Nota: El proyecto AngularJS ha finalizado su ciclo de vida y no recibirá actualizaciones para solucionar este problema. Para más información, consulte aquí: https://docs.angularjs.org/misc/version-support-status."
}
],
"lastModified": "2026-06-17T09:06:46.730",
"sourceIdentifier": "36c7be3b-2937-45df-85ea-ca7133ea542c"
}