Unrated
Security advisory
Drupal core's form API has a vulnerability where certain contributed or custom modules' forms may be vulnerable to improper input validation. This could allow an attacker to inject disallowed values or overwrite data. Affected forms are uncommon, but in certain cases an attacker could alter critical or sensitive data.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25271
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 10:26 UTC · Revision 1
Source evidence
Drupal core's form API has a vulnerability where certain contributed or custom modules' forms may be vulnerable to improper input validation. This could allow an attacker to inject disallowed values or overwrite data. Affected forms are uncommon, but in certain cases an attacker could alter critical or sensitive data.
osv:CVE-2022-25271
Complete source record
{
"id": "dc5fed3d34955c4fbbdde05ecb8c202d845b5720c4c56884bad34e3167365efb",
"url": "https://osv.dev/vulnerability/CVE-2022-25271",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-25271",
"summary": "Drupal core's form API has a vulnerability where certain contributed or custom modules' forms may be vulnerable to improper input validation. This could allow an attacker to inject disallowed values or overwrite data. Affected forms are uncommon, but in certain cases an attacker could alter critical or sensitive data.",
"evidence": "osv:CVE-2022-25271",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2022-25271",
"aliases": [
"BIT-drupal-2022-25271",
"CVE-2022-25271",
"DRUPAL-CORE-2022-003",
"GHSA-fmfv-x8mp-5767"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/drupal/drupal",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "619a1f0e33d7dc694840d01374bd2d1660eabb8d"
},
{
"introduced": "943ecef3c0bc9822338252a7df6419aeb9253c9d"
},
{
"fixed": "7c620f0d179eee168b27509f3902f99e9fa52703"
},
{
"introduced": "698ee686c23de8c97d7e0601cf745b220d54f4e1"
},
{
"fixed": "e205f31c36c6db950f50d473cfd24ad22ac98ae1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.88"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.2.0"
},
{
"fixed": "9.2.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.3.0"
},
{
"fixed": "9.3.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"7.87",
"9.2.12",
"9.3.5",
"9.2.11",
"9.3.4",
"7.85",
"9.2.10",
"9.3.2",
"7.84",
"9.3.0",
"7.83",
"9.2.8",
"9.2.7",
"9.2.5",
"9.2.3",
"7.81",
"9.2.1",
"9.2.0",
"7.79",
"7.77",
"7.76",
"7.71",
"7.68",
"7.64",
"7.61",
"7.56",
"7.55",
"7.54",
"7.51",
"7.50",
"7.43",
"7.42",
"7.40",
"7.37",
"7.36",
"7.33",
"7.30",
"7.28",
"7.25",
"7.23",
"7.22",
"7.17",
"7.15",
"7.14",
"7.12",
"7.10",
"7.9",
"7.8",
"7.7",
"7.6",
"7.4",
"7.0",
"7.0-rc-4",
"7.0-rc-3",
"7.0-rc-2",
"7.0-rc-1",
"7.0-beta3",
"7.0-beta2",
"7.0-beta1",
"7.0-alpha7",
"7.0-alpha6",
"7.0-alpha5",
"7.0-alpha4",
"7.0-alpha3",
"7.0-alpha2",
"7.0-alpha1",
"7.0-unstable-10",
"7.0-unstable-7",
"7.0-unstable-6",
"7.0-unstable-5",
"7.0-unstable-4",
"7.0-unstable-3",
"7.0-unstable-2",
"7.0-unstable-1",
"6.0-rc-3",
"6.0-rc-2",
"6.0-rc-1",
"6.0-beta-4",
"6.0-beta-3",
"6.0-beta-2",
"6.0-beta-1",
"5.0-rc-2",
"5.0-rc-1",
"5.0-beta-2",
"5.0-beta-1",
"3.0.1",
"2.0",
"1.0",
"start"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25271.json"
}
}
],
"modified": "2026-10-28T02:30:27.886149857Z",
"provider": "osv",
"references": [
"https://www.drupal.org/sa-core-2022-003",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25271.json",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4/",
"https://nvd.nist.gov/vuln/detail/CVE-2022-25271"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "drupal",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "9.3.x"
},
{
"fixed": "9.3.6"
},
{
"introduced": "9.2.x"
},
{
"fixed": "9.2.13"
},
{
"introduced": "7.x"
},
{
"fixed": "7.88"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25271.json"
}
},
"related_cves": [
{
"value": "CVE-2022-25271",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 494516,
"published_at": "2022-02-16T00:00:00+00:00"
}