CVE-2023-0842
Status: ModifiedMedium (5.3)—
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.
CVSS
- Version: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Base score: 5.3
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 1.40%
- Percentile among all scored CVEs: 72
- Score date: 10/19/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-1321
- CWE-1321
References
- 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
Raw JSON (NVD)
Show
{
"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"
}