CVE-2022-37430
Description
Silverstripe silverstripe/framework through 4.11 allows XSS vulnerability via href attribute of a link (issue 2 of 2).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Silverstripe Framework through 4.11 allows stored XSS via crafted href attribute in links, enabling arbitrary script execution.
Root
Cause CVE-2022-37430 is a cross-site scripting (XSS) vulnerability in the Silverstripe Framework (silverstripe/framework) through version 4.11. The flaw arises from insufficient sanitization of the href attribute in HTML links, allowing an attacker to inject malicious JavaScript code that is executed when a user interacts with the crafted link [2][3].
Exploitation
An attacker can exploit this vulnerability by submitting content containing a specially crafted href value, for example through user-generated content or CMS fields that accept HTML. No authentication is required if the application allows unauthenticated users to submit content; however, in many cases the attacker would need a role that can create or edit content. The XSS payload is stored and executed in the context of the victim's browser when they view the page containing the malicious link [2][3].
Impact
Successful exploitation enables the attacker to execute arbitrary JavaScript in the victim's browser. This can lead to session hijacking, credential theft, defacement, or redirection to malicious sites. The vulnerability is classified as medium severity (CVSS 6.1) due to the need for user interaction and the requirement that the attacker have some level of content creation access in typical deployments [2].
Mitigation
The Silverstripe project has addressed this issue in subsequent releases. Users are advised to upgrade to a patched version of the framework (4.11.1 or later) to remediate the vulnerability. No workaround is provided; upgrading is the recommended action [2][3].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
silverstripe/frameworkPackagist | >= 4.0.0, < 4.11.13 | 4.11.13 |
Affected products
2- Silverstripe/silverstripe/frameworkdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
9- github.com/advisories/GHSA-qw4w-vq8v-2wcvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-37430ghsaADVISORY
- forum.silverstripe.org/c/releasesghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-37430.yamlghsaWEB
- www.silverstripe.org/blog/tag/releaseghsaWEB
- www.silverstripe.org/download/security-releasesghsaWEB
- www.silverstripe.org/download/security-releases/cve-2022-37430ghsaWEB
- www.silverstripe.org/download/security-releases/mitre
- www.silverstripe.org/download/security-releases/CVE-2022-37430mitre
News mentions
0No linked articles in our index yet.