VYPR
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.

PackageAffected versionsPatched versions
zf-commons/zfc-userPackagist
< 1.2.21.2.2

Affected products

1

Patches

1
baf0e460

Fix XSS vulnerability

https://github.com/ZF-Commons/ZfcUserDanielss89Jan 8, 2015via ghsa
1 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

News mentions

0

No linked articles in our index yet.