Grav 2.0.0 before 2.2.5 HTTP Basic Credential Disclosure via Twig Uri
Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows page authors to capture visitors' HTTP Basic credentials through Twig page content. Authors can print the request Uri object, which embeds PHP_AUTH_USER and PHP_AUTH_PW, inside an inline style background image to exfiltrate administrators' credentials to an external host.
- Products
- grav
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-114657
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 18:14 UTC · Revision 2
Source evidence
Grav 2.0.0 before 2.2.5 HTTP Basic Credential Disclosure via Twig Uri
core-cve · Original sourcePublished 22 Oct 2026, 01:43 UTC
Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows page authors to capture visitors' HTTP Basic credentials through Twig page content. Authors can print the request Uri object, which embeds PHP_AUTH_USER and PHP_AUTH_PW, inside an inline style background image to exfiltrate administrators' credentials to an external host.
cve:CVE-2026-114657
grav
Fixed versions: Not specified
Complete source record
{
"id": "81f89c6323b02170dc1b47e0ceefaff35d050aa4d98c72e9897a1e58d7a842d0",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-114657",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Grav 2.0.0 before 2.2.5 HTTP Basic Credential Disclosure via Twig Uri",
"summary": "Grav from 2.0.0 before 2.2.5 contains an information disclosure vulnerability that allows page authors to capture visitors' HTTP Basic credentials through Twig page content. Authors can print the request Uri object, which embeds PHP_AUTH_USER and PHP_AUTH_PW, inside an inline style background image to exfiltrate administrators' credentials to an external host.",
"evidence": "cve:CVE-2026-114657",
"products": [
{
"name": {
"value": "grav",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2026-114657",
"aliases": [
"CVE-2026-114657"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 6.9,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "LOW",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.7,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N",
"integrityImpact": "NONE",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
}
],
"affected": [
{
"vendor": "getgrav",
"product": "grav",
"versions": [
{
"status": "affected",
"version": "2.0.0",
"lessThan": "2.2.5",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "2.2.5",
"versionType": "semver"
}
],
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-28T02:15:08.666Z",
"provider": "cve",
"references": [
"https://github.com/getgrav/grav/security/advisories/GHSA-c85g-q5w4-ff68",
"https://www.vulncheck.com/advisories/grav-2.0.0-before-2.2.5-http-basic-credential-disclosure-via-twig-uri"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-114657",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-28T02:14:56.290791Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-28T02:15:08.666Z"
}
}
],
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-22T01:43:42.747Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-114657",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 406260,
"published_at": "2026-10-22T01:43:42.747+00:00"
}