CVE-2011-0508 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the X_FORWARDED_FOR header in Contao CMS comments, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2011-0508?

CVE-2011-0508 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Jan 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cross-site scripting (XSS) vulnerability in system/modules/comments/Comments.php in Contao CMS 2.9.2, and possibly other versions before 2.9.3, allows remote attackers to inject arbitrary web script or HTML via the HTTP X_FORWARDED_FOR header, which is stored by system/libraries/Environment.php but not properly handled by a comments action to main.php.

Weakness: CWE-79

Which versions are affected by CVE-2011-0508?

It affects 1 product.

Products include Contao Contao Cms.

How do I fix CVE-2011-0508?

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

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

Sources

Also known as GHSA-gfg7-fg26-2g7j.

Is CVE-2011-0508 in your software?

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

Check your SBOMs for free