Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-58657

published medium CVSS 4.0 · 4.8

Grav - Stored CSS Injection via Markdown Image resize() Action

Published
08 Jul 2026, 13:49:12 UTC
Updated
08 Oct 2026, 15:23:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Grav — Grav2.0.0-rc.9 to < 2.0.0 (affected · semver) · 2.0.0 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck

Description

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
4.8 / 10
Severity
medium
Provider
VulnCheck · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 4.8 medium VulnCheck · cna CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Grav Grav 2.0.0-rc.9 to < 2.0.0 (affected · semver)2.0.0 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (VulnCheck · cna)

References

4

Provider assertions

2

VulnCheck · cna

Grav - Stored CSS Injection via Markdown Image resize() Action

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
14d701c11b9d45fd3a7d03a2f8a7604434675cd8a65643cb7d649ecbd595a78f
Ingested
09 Oct 2026, 16:30:28 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected