Files
vuln-cve/data/2026/58xxx/CVE-2026-58657.json
T

202 lines
8.7 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-58657",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"state": "PUBLISHED",
"assignerShortName": "VulnCheck",
"dateReserved": "2026-07-01T21:54:37.946Z",
"datePublished": "2026-07-08T13:49:12.183Z",
"dateUpdated": "2026-10-08T15:23:30.638Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-08T15:23:30.638Z"
},
"datePublic": "2026-06-22T00:00:00.000Z",
"title": "Grav - Stored CSS Injection via Markdown Image resize() Action",
"descriptions": [
{
"lang": "en",
"value": "Grav before 2.0.0 (affected through 2.0.0-rc.9 and the 2.0 branch) contains a stored CSS injection vulnerability in the Markdown image resize() media action. Prior media hardening rejects direct ?style= payloads and unsafe attribute() fallbacks, but the resize() action in Excerpts::processMediaActions() writes caller-controlled values directly into the image's styleAttributes. A lower-privileged content editor who can edit page Markdown can store a crafted image URL with semicolon-delimited CSS declarations in the resize parameters, which are rendered into the final <img style=...> attribute when a higher-privileged reviewer/admin views the page or preview. This does not require JavaScript execution but enables UI redress/overlay and content-manipulation attacks (e.g., a full-viewport fixed overlay). Fixed in 2.0.0."
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"affected": [
{
"vendor": "Grav",
"product": "Grav",
"defaultStatus": "unaffected",
"versions": [
{
"version": "2.0.0-rc.9",
"status": "affected",
"versionType": "semver",
"lessThan": "2.0.0"
},
{
"version": "2.0.0",
"status": "unaffected",
"versionType": "semver"
}
],
"packageURL": "pkg:composer/getgrav/grav"
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.0.0",
"versionEndExcluding": "2.0.0"
}
]
}
]
}
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "HIGH",
"userInteraction": "PASSIVE",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"subAvailabilityImpact": "NONE",
"baseScore": 4.8,
"baseSeverity": "MEDIUM"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 4.8,
"baseSeverity": "MEDIUM"
}
}
],
"references": [
{
"url": "https://github.com/getgrav/grav/security/advisories/GHSA-ffmg-hfvg-jhg9",
"name": "GitHub Security Advisory (GHSA-ffmg-hfvg-jhg9)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://github.com/getgrav/grav/commit/6582166173bb8eb5869d96aea384e0e73777c94c",
"name": "https://github.com/getgrav/grav/commit/6582166173bb8eb5869d96aea384e0e73777c94c",
"tags": [
"patch"
]
},
{
"url": "https://github.com/getgrav/grav/commit/e03d29aa0d3ece16d73c1ffccfa78df8bf5f28b8",
"name": "https://github.com/getgrav/grav/commit/e03d29aa0d3ece16d73c1ffccfa78df8bf5f28b8",
"tags": [
"patch"
]
},
{
"name": "VulnCheck Advisory: Grav - Stored CSS Injection via Markdown Image resize() Action",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/grav-stored-css-injection-via-markdown-image-resize-action"
}
],
"credits": [
{
"lang": "en",
"value": "DavidCarliez",
"type": "reporter"
}
],
"x_generator": {
"engine": "vulncheck-endgame"
}
},
"adp": [
{
"references": [
{
"url": "https://github.com/getgrav/grav/security/advisories/GHSA-ffmg-hfvg-jhg9",
"tags": [
"exploit"
]
}
],
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-07-08T14:21:29.168366Z",
"id": "CVE-2026-58657",
"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-07-08T14:21:36.356Z"
}
}
]
}
}