GHSA-c58j-88f5-h53f Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pycares

Not scored Published

Cross-site scripting vulnerability in pycares allows attackers to inject malicious scripts into web pages viewed by other users.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-c58j-88f5-h53f?

GHSA-c58j-88f5-h53f is a cross-site scripting vulnerability in pycares, published on 5 Jul 2022. It can be exploited over the network, and only if a user opens a file or follows a link.

Official description

Impact

pycares versions < 4.2.0 are affected by CVE-2021-3672.

Patches

Update to version 4.2.0.

Which versions are affected by GHSA-c58j-88f5-h53f?

2 open source packages ship an affected version, including pycares.

PackageAffectedFixed in
pycares PyPIAll versions4.2.0
pycares PyPIAll versions4.2.0

How do I fix GHSA-c58j-88f5-h53f?

Upgrade pycares to 4.2.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is GHSA-c58j-88f5-h53f being exploited?

There is no known exploitation of GHSA-c58j-88f5-h53f in the wild and no public exploit code.

Sources

Is GHSA-c58j-88f5-h53f in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free