{"id":"CVE-2022-4396","aliases":["DEBIAN-CVE-2022-4396","EUVD-2022-7560","GHSA-894q-wpg5-mf2h","PYSEC-2026-910","UBUNTU-CVE-2022-4396"],"status":"published","title":"RDFlib pyrdfa3 __init__.py _get_option cross site scripting","description":"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.","severity":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00613,"percentile":0.4968,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-707","CWE-79"],"published":"2022-12-10T00:00:00Z","modified":"2026-11-11T02:30:30Z","fixes":[{"ecosystem":"PyPI","package":"pyrdfa3","fixed_in":["3.6.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-pyrdfa","fixed_in":["3.5.2+20220329~ds-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-pyrdfa","fixed_in":["3.5.2+20220329~ds-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-pyrdfa","fixed_in":["3.5.2+20220329~ds-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pyrdfa3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.5.3"},{"fixed":"3.6.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-pyrdfa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2+20220329~ds-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-pyrdfa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2+20220329~ds-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-pyrdfa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2+20220329~ds-1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pyrdfa3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2"}]}],"versions":["3.5.0","3.5.1","3.5.2","3.5.3"]},{"source":"osv","ecosystem":"PyPI","package":"pyrdfa3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2"}]}],"versions":["3.5.0","3.5.1","3.5.2","3.5.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.2-3","4.1.2-3+deb8u1build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.2-2","4.2.2-3build2","4.2.2-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-pyrdfa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.2~ds-5build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-1.1build1","5.0.0-2","6.1.1-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.1-2","6.1.1-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.1-2","7.1.1-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.4.0-1","7.6.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.1-3","7.4.0-1"]}],"products":[{"vendor":"pyrdfa3_project","product":"pyrdfa3"},{"vendor":"rdflib","product":"pyrdfa3"}],"references":[{"url":"https://github.com/RDFLib/pyrdfa3/pull/40","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e","tags":["x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://vuldb.com/?id.215249","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4396","tags":["advisory"]},{"url":"https://github.com/RDFLib/pyrdfa3/issues/38","tags":["web"]},{"url":"https://github.com/advisories/GHSA-894q-wpg5-mf2h","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4396.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-4396","tags":["advisory"]},{"url":"https://github.com/RDFLib/pyrdfa3","tags":["package"]},{"url":"https://pypi.org/project/pyrdfa3","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-4396","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4396","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-4396","title":"RDFlib pyrdfa3 __init__.py _get_option cross site scripting","description":"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.","status":"published","published":"2022-12-10T00:00:00Z","modified":"2025-04-15T13:06:36.949Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-707"],"updated_at":"2026-11-02T14:34:37.599536Z"}],"euvd":[{"id":"EUVD-2022-7560","description":"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.","status":"published","published":"2022-12-10T00:00:00Z","modified":"2025-04-15T13:06:36Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T20:52:31.561628Z"}],"ghsa":[{"id":"GHSA-894q-wpg5-mf2h","title":"pyRdfa3 Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2022-12-10T12:30:18Z","modified":"2024-04-08T17:20:48Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79","CWE-707"],"updated_at":"2026-11-02T14:37:42.744468Z"}],"nvd":[{"id":"CVE-2022-4396","description":"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.","status":"published","published":"2022-12-10T12:15:10.797Z","modified":"2026-06-17T05:20:46.977Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-707","CWE-79"],"updated_at":"2026-11-02T14:07:33.239526Z"}],"osv":[{"id":"CVE-2022-4396","title":"RDFlib pyrdfa3 __init__.py _get_option cross site scripting","description":"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.","status":"published","published":"2022-12-10T00:00:00Z","modified":"2026-11-11T10:31:02.183314971Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-707"],"updated_at":"2026-11-11T02:50:43.46164Z"},{"id":"GHSA-894q-wpg5-mf2h","title":"pyRdfa3 Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2022-12-10T12:30:18Z","modified":"2026-07-07T11:56:36.862456512Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-707","CWE-79"],"updated_at":"2026-11-02T15:46:42.077781Z"},{"id":"PYSEC-2026-910","title":"pyRdfa3 Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2026-07-07T10:17:25.449599Z","modified":"2026-07-07T11:45:49.911217899Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:58.117212Z"},{"id":"UBUNTU-CVE-2022-4396","description":"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.","status":"published","published":"2022-12-10T12:15:00Z","modified":"2026-10-17T12:56:03.10868559Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"DEBIAN-CVE-2022-4396","description":"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.","status":"published","published":"2022-12-10T12:15:10.797Z","modified":"2026-11-03T06:03:00.174438054Z","updated_at":"2026-11-03T06:43:01.507088Z"}]}}
