{"id":"UBUNTU-CVE-2022-4396","details":"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.","modified":"2026-01-20T18:06:08.505802Z","published":"2022-12-10T12:15:00Z","upstream":["CVE-2022-4396"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-4396"},{"type":"REPORT","url":"https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e"},{"type":"REPORT","url":"https://github.com/RDFLib/pyrdfa3/pull/40"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-4396"}],"affected":[{"package":{"name":"rdflib","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rdflib@4.1.2-3+deb8u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.2-3","4.1.2-3+deb8u1build0.16.04.1"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}},{"package":{"name":"rdflib","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rdflib@4.2.1-2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-2"],"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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}},{"package":{"name":"rdflib","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rdflib@4.2.2-5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.2-2","4.2.2-3build2","4.2.2-5"],"ecosystem_specific":{"binaries":[{"binary_name":"python-rdflib-tools","binary_version":"4.2.2-5"},{"binary_name":"python3-rdflib","binary_version":"4.2.2-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}},{"package":{"name":"python-pyrdfa","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-pyrdfa@3.5.2~ds-5build1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.2~ds-5build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pyrdfa","binary_version":"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"}},{"package":{"name":"rdflib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rdflib@6.1.1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-1.1build1","5.0.0-2","6.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python-rdflib-tools","binary_version":"6.1.1-1"},{"binary_name":"python3-rdflib","binary_version":"6.1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}},{"package":{"name":"rdflib","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rdflib@6.1.1-3?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.1-2","6.1.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-rdflib-tools","binary_version":"6.1.1-3"},{"binary_name":"python3-rdflib","binary_version":"6.1.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}},{"package":{"name":"rdflib","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rdflib@7.1.1-3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.1.1-2","7.1.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python-rdflib-tools","binary_version":"7.1.1-3"},{"binary_name":"python3-rdflib","binary_version":"7.1.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4396.json"}}],"schema_version":"1.7.3","severity":[{"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"}]}