VYPR
Medium severity6.1NVD Advisory· Published Aug 1, 2017· Updated May 13, 2026

CVE-2017-12062

CVE-2017-12062

Description

An XSS issue was discovered in manage_user_page.php in MantisBT 2.x before 2.5.2. The 'filter' field is not sanitized before being rendered in the Manage User page, allowing remote attackers to execute arbitrary JavaScript code if CSP is disabled.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mantisbt/mantisbtPackagist
>= 2.0.0, < 2.5.22.5.2

Affected products

18
  • Mantisbt/Mantisbt18 versions
    cpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:*+ 17 more
    • cpe:2.3:a:mantisbt:mantisbt:2.1.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.1.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.1.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.1.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.2.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.2.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.2.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.2.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.2.4:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.3.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.3.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.3.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.3.3:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.4.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.4.1:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.4.2:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.5.0:*:*:*:*:*:*:*
    • cpe:2.3:a:mantisbt:mantisbt:2.5.1:*:*:*:*:*:*:*

Patches

1
9b5b71dadbee

Fix XSS in manage_user_page.php (CVE-2017-12062)

https://github.com/mantisbt/mantisbtRoland BeckerJul 27, 2017via ghsa
1 file changed · +1 1
  • manage_user_page.php+1 1 modified
    @@ -272,7 +272,7 @@
     			<input type="hidden" name="sort" value="<?php echo $c_sort ?>" />
     			<input type="hidden" name="dir" value="<?php echo $c_dir ?>" />
     			<input type="hidden" name="save" value="1" />
    -			<input type="hidden" name="filter" value="<?php echo $f_filter ?>" />
    +			<input type="hidden" name="filter" value="<?php echo string_attribute( $f_filter ); ?>" />
     			<label class="inline">
     			<input type="checkbox" class="ace" name="hideinactive" value="<?php echo ON ?>" <?php check_checked( (int)$c_hide_inactive, ON ); ?> />
     			<span class="lbl"> <?php echo lang_get( 'hide_inactive' ) ?></span>
    

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

7

News mentions

0

No linked articles in our index yet.