# SVG with embedded scripts can lead to cross-site scripting attacks in xml2rfc

Source: https://junglewise.ai/threats/svg-with-embedded-scripts-can-lead-to-cross-site-scripting-attacks-in-87a59f0e  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-04-22  
License: CC BY 4.0 with a link back

Severity: info · Published 2022-04-22

SVG with embedded scripts can lead to cross-site scripting attacks in xml2rfc

Technologies: [xml2rfc (PyPI)](https://junglewise.ai/threats/technologies/xml2rfc). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 22 April 2022.

**Which products and versions are affected?** xml2rfc (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.4.

**Is there a fix for This vulnerability?** Yes. xml2rfc (PyPI): upgrade to 3.12.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run xml2rfc (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- xml2rfc (PyPI): upgrade to 3.12.4 or later

  ```sh
  pip install "xml2rfc>=3.12.4"
  ```


## Affected products

- xml2rfc (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.4

## Related threats

- [PYSEC-2026-2057 - xml2rfc is vulnerable to arbitrary file reads through prepped files](https://junglewise.ai/threats/cve-2025-11059-xml2rfc-is-vulnerable-to-arbitrary-file-reads-through-prepped)
- [PYSEC-2026-2058 - xml2rfc has an arbitrary file read vulnerability](https://junglewise.ai/threats/cve-2025-11058-xml2rfc-has-an-arbitrary-file-read-vulnerability)
- [xml2rfc has file inclusion irregularities](https://junglewise.ai/threats/xml2rfc-has-file-inclusion-irregularities-5b2c05e5)
