CVE-2005-4799 Cross-site scripting in n/a

Medium 5.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via image comment fields or view parameters in YaPIG, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2005-4799?

CVE-2005-4799 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 May 2006. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allow remote attackers to inject arbitrary web script or HTML via (1) the Homepage field (aka the Website field) in an "image-related comment" and (2) the img_size field in view.php. NOTE: due to lack of details from the researcher, it is not clear whether the comment vector overlaps CVE-2005-1886.

Which versions are affected by CVE-2005-4799?

It affects 1 product.

Products include Yapig Yapig.

How do I fix CVE-2005-4799?

No fix has been published for CVE-2005-4799 yet. Limit exposure of the affected software until one is available.

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 CVE-2005-4799 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-4799 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-8mq7-xqr4-2h23.

Is CVE-2005-4799 in your software?

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

Check your SBOMs for free