VYPR
Moderate severityNVD Advisory· Published Jun 29, 2007· Updated Apr 23, 2026

CVE-2007-3498

CVE-2007-3498

Description

Cross-site scripting (XSS) vulnerability in smoketests/configForm.php in HTML Purifier before 2.0.1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors related to "unescaped print_r output."

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
ezyang/htmlpurifierPackagist
< 2.0.12.0.1

Affected products

1

Patches

1
96b571d23639

[2.0.1] Fix unescaped print_r that handles user input

https://github.com/ezyang/htmlpurifierEdward Z. YangJun 25, 2007via ghsa
1 file changed · +1 1
  • smoketests/configForm.php+1 1 modified
    @@ -70,7 +70,7 @@
     </form>
     <pre>
     <?php
    -print_r($config->getAll());
    +echo htmlspecialchars(print_r($config->getAll(), true));
     ?>
     </pre>
     </body>
    

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

9

News mentions

0

No linked articles in our index yet.