Files
vuln-cve/data/2026/12xxx/CVE-2026-12228.json
T

124 lines
5.4 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-12228",
"assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
"state": "PUBLISHED",
"assignerShortName": "@huntr_ai",
"dateReserved": "2026-06-14T20:13:15.214Z",
"datePublished": "2026-07-18T20:36:36.906Z",
"dateUpdated": "2026-07-20T15:12:16.917Z"
},
"containers": {
"cna": {
"title": "Stored XSS in Direct Messages via Prompt Sharing in parisneo/lollms",
"providerMetadata": {
"orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
"shortName": "@huntr_ai",
"dateUpdated": "2026-07-18T20:36:36.906Z"
},
"descriptions": [
{
"lang": "en",
"value": "A stored cross-site scripting (XSS) vulnerability exists in the `POST /api/prompts/share` endpoint of parisneo/lollms (latest version). The endpoint stores attacker-controlled `prompt_content` into `DBDirectMessage.content` without server-side sanitization. When a victim opens the direct message (DM) thread, the message is rendered by the DM UI through `MessageContentRenderer`, which uses `v-html` to insert rendered HTML into the DOM. The frontend sanitizer, which is regex-based, fails to comprehensively sanitize attacker-controlled HTML, allowing malicious payloads to execute in the victim's browser context. This vulnerability enables any authenticated user to send a malicious prompt-share message to another user's inbox, leading to arbitrary JavaScript execution, authenticated actions as the victim, exposure of same-origin application data, and potential account takeover."
}
],
"affected": [
{
"vendor": "parisneo",
"product": "parisneo/lollms",
"versions": [
{
"version": "unspecified",
"status": "affected",
"versionType": "custom",
"lessThanOrEqual": "latest"
}
]
}
],
"references": [
{
"url": "https://huntr.com/bounties/25623635-5ceb-4062-8289-02089e6d97c1"
}
],
"metrics": [
{
"cvssV3_0": {
"version": "3.0",
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
"baseScore": 8.7,
"baseSeverity": "HIGH"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"type": "CWE",
"lang": "en",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79"
}
]
}
],
"source": {
"advisory": "25623635-5ceb-4062-8289-02089e6d97c1",
"discovery": "EXTERNAL"
}
},
"adp": [
{
"references": [
{
"url": "https://huntr.com/bounties/25623635-5ceb-4062-8289-02089e6d97c1",
"tags": [
"exploit"
]
}
],
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-07-20T15:11:54.496213Z",
"id": "CVE-2026-12228",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-20T15:12:16.917Z"
}
}
]
}
}