CVE-2022-4396RDFlib pyrdfa3 __init__.py _get_option cross site scripting
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | rdflib | Fix pending | UBUNTU-CVE-2022-4396 | |
| Ubuntu 26.04 | python-pyrdfa | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | rdflib | Under investigation | UBUNTU-CVE-2022-4396 | |
| Ubuntu 25.10 | python-pyrdfa | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | rdflib | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4396 | |
| Ubuntu 24.04 | python-pyrdfa | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rdflib | Under investigation | UBUNTU-CVE-2022-4396 | |
| Ubuntu 22.04 | python-pyrdfa | Fix pending | UBUNTU-CVE-2022-4396 | |
| Ubuntu 22.04 | rdflib | Under investigation | UBUNTU-CVE-2022-4396 | |
| Ubuntu 20.04 | rdflib | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4396 | |
| Ubuntu 18.04 | rdflib | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4396 | |
| Ubuntu 16.04 | rdflib | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4396 | |
| Ubuntu 14.04 | rdflib | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | python-pyrdfa | Fixed | 3.5.2+20220329~ds-1 | DEBIAN-CVE-2022-4396 |
| Debian 13 | python-pyrdfa | Fixed | 3.5.2+20220329~ds-1 | DEBIAN-CVE-2022-4396 |
| Debian 12 | python-pyrdfa | Fixed | 3.5.2+20220329~ds-1 | DEBIAN-CVE-2022-4396 |
| PyPI library | pyrdfa3 | Fixed | 3.6.2 | PYSEC-2026-910 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- RDFlib pyrdfa3: affected: n/a
References
- https://github.com/RDFLib/pyrdfa3/pull/40
- https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e
- https://vuldb.com/?id.215249
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.