Files
vuln-cve/data/2026/42xxx/CVE-2026-42840.json
T

210 lines
8.3 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-42840",
"assignerOrgId": "84fe0718-d6bb-4716-a7e8-81a6d1daa869",
"state": "PUBLISHED",
"assignerShortName": "Fluid Attacks",
"dateReserved": "2026-04-30T15:23:30.711Z",
"datePublished": "2026-06-03T17:35:04.126Z",
"dateUpdated": "2026-06-03T18:59:26.898Z"
},
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"platforms": [
"Windows",
"MacOS",
"Linux"
],
"product": "ERPNext",
"vendor": "Frappe",
"versions": [
{
"status": "affected",
"version": "16.16.0"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:frappe:erpnext:16.16.0:*:windows:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frappe:erpnext:16.16.0:*:macos:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:frappe:erpnext:16.16.0:*:linux:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Fluid Attacks' AI SAST Scanner"
},
{
"lang": "en",
"type": "finder",
"value": "Oscar Naveda"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "<span style=\"background-color: rgb(255, 255, 255);\">An authenticated user can persist arbitrary HTML/JavaScript in the </span><code>email_id</code><span style=\"background-color: rgb(255, 255, 255);\"> or </span><code>mobile_no</code><span style=\"background-color: rgb(255, 255, 255);\"> fields of a Customer record and trigger unescaped rendering in the Point of Sale (POS) interface for every operator who selects that customer.</span><br><p>This issue affects ERPNext: 16.16.0.</p>"
}
],
"value": "An authenticated user can persist arbitrary HTML/JavaScript in the email_id or mobile_no fields of a Customer record and trigger unescaped rendering in the Point of Sale (POS) interface for every operator who selects that customer.\nThis issue affects ERPNext: 16.16.0."
}
],
"impacts": [
{
"capecId": "CAPEC-592",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-592 Stored XSS"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 5.1,
"baseSeverity": "MEDIUM",
"privilegesRequired": "LOW",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "PASSIVE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"orgId": "84fe0718-d6bb-4716-a7e8-81a6d1daa869",
"shortName": "Fluid Attacks",
"dateUpdated": "2026-06-03T17:35:04.126Z"
},
"references": [
{
"tags": [
"third-party-advisory"
],
"url": "https://fluidattacks.com/es/advisories/weeknd"
},
{
"tags": [
"product"
],
"url": "https://github.com/frappe/erpnext"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "ERPNext 16.16.0 - Stored XSS in POS customer section via unescaped template literals",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
},
"adp": [
{
"references": [
{
"url": "https://fluidattacks.com/es/advisories/weeknd",
"tags": [
"exploit"
]
}
],
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-06-03T18:59:20.378277Z",
"id": "CVE-2026-42840",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-03T18:59:26.898Z"
}
}
]
}
}