Vulnerability DatabaseGHSA-cf4q-4cqr-7g7w

GHSA-cf4q-4cqr-7g7w
Python vulnerability analysis and mitigation

Overview

A moderate severity vulnerability (GHSA-cf4q-4cqr-7g7w) was identified in xml2rfc affecting versions prior to 3.12.4. The vulnerability was discovered and published on April 12, 2022, with the latest update on January 11, 2023. The issue allows script elements in SVG sources which can lead to cross-site scripting (XSS) attacks in HTML output (GitHub Advisory).

Technical details

The vulnerability stems from xml2rfc's handling of SVG elements, specifically allowing script elements within SVG sources to be processed and included in HTML output. This creates a potential vector for cross-site scripting attacks. The vulnerability has been classified with CWE-79 (Cross-site Scripting) and received a moderate severity rating (GitHub Advisory).

Impact

The vulnerability primarily affects websites that publish HTML drafts and RFCs using xml2rfc. When exploited, it could allow attackers to execute malicious scripts through SVG elements, potentially compromising the security of affected websites (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 3.12.4 of xml2rfc. For users unable to update immediately, a workaround involves scraping script elements from SVG files if the SVG source is self-contained within the XML (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22033HIGH8.6
  • PythonPython
  • label-studio
NoNoJan 12, 2026
CVE-2025-68472HIGH8.1
  • PythonPython
  • mindsdb
NoYesJan 12, 2026
CVE-2026-22251MEDIUM5.3
  • PythonPython
  • wlc
NoYesJan 12, 2026
CVE-2026-22691LOW2.7
  • PythonPython
  • pypdf
NoYesJan 10, 2026
CVE-2026-22250LOW2.5
  • PythonPython
  • wlc
NoYesJan 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management