CVE-2012-4968 Silverstripe XSS Vulnerabilities

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via crafted strings in various template methods, potentially leading to session hijacking or data theft.

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
Available

What is CVE-2012-4968?

CVE-2012-4968 is a medium-severity cross-site scripting vulnerability in Silverstripe Silverstripe, published on 17 Sep 2012. 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

Multiple cross-site scripting (XSS) vulnerabilities in SilverStripe 2.3.x before 2.3.13 and 2.4.x before 2.4.7 allow remote attackers to inject arbitrary web script or HTML via (1) a crafted string to the AbsoluteLinks, (2) BigSummary, (3) ContextSummary, (4) EscapeXML, (5) FirstParagraph, (6) FirstSentence, (7) Initial, (8) LimitCharacters, (9) LimitSentences, (10) LimitWordCount, (11) LimitWordCountXML, (12) Lower, (13) LowerCase, (14) NoHTML, (15) Summary, (16) Upper, (17) UpperCase, or (18) URL method in a template, different vectors than CVE-2012-0976.

Weakness: CWE-79

Which versions are affected by CVE-2012-4968?

4 open source packages ship an affected version, including silverstripe/framework. It affects 1 product.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 2.32.3.13
silverstripe/framework PackagistFrom 2.32.3.13
silverstripe/framework PackagistFrom 2.42.4.7
silverstripe/framework PackagistFrom 2.42.4.7

Products include Silverstripe Silverstripe.

How do I fix CVE-2012-4968?

Upgrade silverstripe/framework to a fixed version for your release line: 2.3.13 or 2.4.7.

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-2012-4968 being exploited?

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

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as GHSA-v358-rvxr-wffx.

Is CVE-2012-4968 in your software?

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

Check your SBOMs for free