Moderate severityNVD Advisory· Published Jan 15, 2015· Updated May 6, 2026
CVE-2015-1039
CVE-2015-1039
Description
Cross-site scripting (XSS) vulnerability in user/login.phtml in ZF-Commons ZfcUser before 1.2.2 allows remote attackers to inject arbitrary web script or HTML via the redirect parameter.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
zf-commons/zfc-userPackagist | < 1.2.2 | 1.2.2 |
Affected products
1Patches
11 file changed · +1 −1
view/zfc-user/user/login.phtml+1 −1 modified@@ -28,5 +28,5 @@ $form->setAttribute('method', 'post'); <?php echo $this->form()->closeTag() ?> <?php if ($this->enableRegistration) : ?> -<?php echo $this->translate('Not registered?'); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->redirect : '') ?>"><?php echo $this->translate('Sign up!'); ?></a> +<?php echo $this->translate('Not registered?'); ?> <a href="<?php echo $this->url('zfcuser/register') . ($this->redirect ? '?redirect='.$this->escapeUrl($this->redirect) : '') ?>"><?php echo $this->translate('Sign up!'); ?></a> <?php endif; ?>
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- www.openwall.com/lists/oss-security/2015/01/11/4nvdExploitWEB
- github.com/ZF-Commons/ZfcUser/issues/550nvdExploitWEB
- github.com/advisories/GHSA-33rh-5hvf-5jjpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2015-1039ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/zf-commons/zfc-user/CVE-2015-1039.yamlghsaWEB
- github.com/ZF-Commons/ZfcUser/commit/baf0e460nvdWEB
- web.archive.org/web/20150202091028/http://www.securityfocus.com/bid/71931ghsaWEB
- www.securityfocus.com/bid/71931nvd
News mentions
0No linked articles in our index yet.