CVE-2023-0842
Estado: ModificadaMedia (5.3)—
La versión 0.4.23 de xml2js permite a un atacante externo editar o añadir nuevas propiedades a un objeto. Esto es posible porque la aplicación no valida correctamente las claves JSON entrantes, lo que permite modificar la propiedad __proto__.
Traducción automática del texto original de NVD (en inglés).
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Puntuación base: 5.3
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 1.40%
- Percentil entre todas las CVEs puntuadas: 72
- Fecha de la puntuación: 19/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)
CWE
- CWE-1321
- CWE-1321
Referencias
- https://fluidattacks.com/advisories/myers/
- https://github.com/Leonidas-from-XIV/node-xml2js/
- https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2
- https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
- https://fluidattacks.com/advisories/myers/
- https://github.com/Leonidas-from-XIV/node-xml2js/
- https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2023-0842",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2023-0842",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-02-13T19:12:29.183636Z"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 1.4,
"exploitabilityScore": 3.9
},
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 1.4,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "help@fluidattacks.com",
"affectedData": [
{
"vendor": "n/a",
"product": "xml2js",
"versions": [
{
"status": "affected",
"version": "0.4.23"
}
],
"packageName": "node-xml2js",
"collectionURL": "https://registry.npmjs.org",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2023-04-05T20:15:07.493",
"references": [
{
"url": "https://fluidattacks.com/advisories/myers/",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "help@fluidattacks.com"
},
{
"url": "https://github.com/Leonidas-from-XIV/node-xml2js/",
"tags": [
"Product"
],
"source": "help@fluidattacks.com"
},
{
"url": "https://github.com/Leonidas-from-XIV/node-xml2js/releases/tag/0.6.2",
"source": "help@fluidattacks.com"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html",
"source": "help@fluidattacks.com"
},
{
"url": "https://fluidattacks.com/advisories/myers/",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/Leonidas-from-XIV/node-xml2js/",
"tags": [
"Product"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00013.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-1321"
}
]
},
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"description": [
{
"lang": "en",
"value": "CWE-1321"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "xml2js version 0.4.23 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the __proto__ property to be edited."
}
],
"lastModified": "2026-06-17T05:26:26.057",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:xml2js_project:xml2js:0.4.23:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "70BD0806-8B12-4AE6-B83D-95A30A40E3C1"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "help@fluidattacks.com"
}