Description
HTML Purifier 4.2.0 allows remote attackers to obtain sensitive information via a direct request to a .php file, which reveals the installation path in an error message, as demonstrated by tests/PHPT/Reporter/SimpleTest.php and certain other files.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | php-htmlpurifier | No fix yet | — |
| Ubuntu 26.04 LTS | php-htmlpurifier | No fix yet | — |
| Ubuntu 25.10 | php-htmlpurifier | No fix yet | — |
| Ubuntu 24.04 LTS | php-htmlpurifier | No fix yet | — |
| Ubuntu 22.04 LTS | php-htmlpurifier | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | php-htmlpurifier | No fix yet | — |
| Ubuntu 18.04 LTS | php-htmlpurifier | No fix yet | — |
| Ubuntu 16.04 LTS | php-htmlpurifier | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | ezyang/htmlpurifier | <= 4.2.0 | — | GHSA-jw86-5cjf-mv79 |