CVE-2004-2157 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary HTML and PHP code via email or username fields in Serendipity, requiring user interaction to execute.

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

What is CVE-2004-2157?

CVE-2004-2157 is a medium-severity cross-site scripting vulnerability in S9y Serendipity, published on 10 Jul 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in Comment.php in Serendipity 0.7 beta1, and possibly other versions before 0.7-beta3, allows remote attackers to inject arbitrary HTML and PHP code via the (1) email or (2) username field.

Which versions are affected by CVE-2004-2157?

It affects 1 product.

Products include S9y Serendipity.

How do I fix CVE-2004-2157?

No fix has been published for CVE-2004-2157 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-2004-2157 being exploited?

There is no known exploitation of CVE-2004-2157 in the wild and no public exploit code.

All S9y Serendipity vulnerabilities

Sources

Also known as GHSA-8xf5-j5w3-2jx2.

Is CVE-2004-2157 in your software?

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

Check your SBOMs for free