python-pyrdfa, rdflib — security advisory
A vulnerability was found in RDFlib pyrdfa3 and classified as problematic. This issue affects the function _get_option of the file pyRdfa/__init__.py. The manipulation leads to cross site scripting. The attack may be initiated remotely. The name of the patch is ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e. It is recommended to apply a patch to fix this issue. The identifier VDB-215249 was assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
- Products
- python-pyrdfa, rdflib
- Affected versions
- 3.5.2~ds-5build1, 4.1.2-3, 4.1.2-3+deb8u1build0.16.04.1, 4.2.1-2, 4.2.2-2, 4.2.2-3build2, 4.2.2-5, 5.0.0-1.1build1, 5.0.0-2, 6.1.1-1, 6.1.1-2, 6.1.1-3, 7.1.1-2, 7.1.1-3, 7.4.0-1, 7.6.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2022-4396
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:47 UTC · Revision 1
Source evidence
A vulnerability was found in RDFlib pyrdfa3 and classified as problematic. This issue affects the function _get_option of the file pyRdfa/__init__.py. The manipulation leads to cross site scripting. The attack may be initiated remotely. The name of the patch is ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e. It is recommended to apply a patch to fix this issue. The identifier VDB-215249 was assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
osv:UBUNTU-CVE-2022-4396
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
python-pyrdfa
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
rdflib
Fixed versions: Not specified
Complete source record
{
"id": "96c9a00a35afff1010be8a7a425b474ae2f0f2f6b6446a78e27422ddb3967d50",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-4396",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-4396",
"summary": "A vulnerability was found in RDFlib pyrdfa3 and classified as problematic. This issue affects the function _get_option of the file pyRdfa/__init__.py. The manipulation leads to cross site scripting. The attack may be initiated remotely. The name of the patch is ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e. It is recommended to apply a patch to fix this issue. The identifier VDB-215249 was assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.",
"evidence": "osv:UBUNTU-CVE-2022-4396",
"products": [
{
"name": {
"value": "rdflib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.1.2-3",
"evidence": "/affected/0/versions"
},
{
"value": "4.1.2-3+deb8u1build0.16.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2.1-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.2.2-2",
"evidence": "/affected/2/versions"
},
{
"value": "4.2.2-3build2",
"evidence": "/affected/2/versions"
},
{
"value": "4.2.2-5",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-pyrdfa",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.5.2~ds-5build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.0-1.1build1",
"evidence": "/affected/4/versions"
},
{
"value": "5.0.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "6.1.1-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.1.1-2",
"evidence": "/affected/5/versions"
},
{
"value": "6.1.1-3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-2",
"evidence": "/affected/6/versions"
},
{
"value": "7.1.1-3",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.4.0-1",
"evidence": "/affected/7/versions"
},
{
"value": "7.6.0-2",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "rdflib",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-3",
"evidence": "/affected/8/versions"
},
{
"value": "7.4.0-1",
"evidence": "/affected/8/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2022-4396",
"aliases": [
"UBUNTU-CVE-2022-4396"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"4.1.2-3",
"4.1.2-3+deb8u1build0.16.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib",
"binary_version": "4.1.2-3+deb8u1build0.16.04.1"
},
{
"binary_name": "python-rdflib-tools",
"binary_version": "4.1.2-3+deb8u1build0.16.04.1"
},
{
"binary_name": "python3-rdflib",
"binary_version": "4.1.2-3+deb8u1build0.16.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"4.2.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib",
"binary_version": "4.2.1-2"
},
{
"binary_name": "python-rdflib-tools",
"binary_version": "4.2.1-2"
},
{
"binary_name": "python3-rdflib",
"binary_version": "4.2.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"4.2.2-2",
"4.2.2-3build2",
"4.2.2-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "4.2.2-5"
},
{
"binary_name": "python3-rdflib",
"binary_version": "4.2.2-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-pyrdfa",
"purl": "pkg:deb/ubuntu/python-pyrdfa?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.5.2~ds-5build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pyrdfa",
"binary_version": "3.5.2~ds-5build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"5.0.0-1.1build1",
"5.0.0-2",
"6.1.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "6.1.1-1"
},
{
"binary_name": "python3-rdflib",
"binary_version": "6.1.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.1.1-2",
"6.1.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "6.1.1-3"
},
{
"binary_name": "python3-rdflib",
"binary_version": "6.1.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"7.1.1-2",
"7.1.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "7.1.1-3"
},
{
"binary_name": "python3-rdflib",
"binary_version": "7.1.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.4.0-1",
"7.6.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "7.6.0-2"
},
{
"binary_name": "python3-rdflib",
"binary_version": "7.6.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "rdflib",
"purl": "pkg:deb/ubuntu/rdflib?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.1.1-3",
"7.4.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-rdflib-tools",
"binary_version": "7.4.0-1"
},
{
"binary_name": "python3-rdflib",
"binary_version": "7.4.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:03.108685590Z",
"provider": "osv",
"upstream": [
"CVE-2022-4396"
],
"references": [
"https://ubuntu.com/security/CVE-2022-4396",
"https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e",
"https://github.com/RDFLib/pyrdfa3/pull/40",
"https://www.cve.org/CVERecord?id=CVE-2022-4396"
]
},
"related_cves": [
{
"value": "CVE-2022-4396",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 354697,
"published_at": "2022-12-10T12:15:00+00:00"
}