Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

dompdf/php-font-lib
master @ a6e9a68
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Path Traversal: 1 prior fix. Scrutinize any change in this area.
www/make_subset.php: most-fixed (2 issues). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Path Traversal: Insecure handling of the 'fontfile' parameter allowed attackers to traverse directories and load arbitrary files. This risk is particularly severe because the vulnerable sink is shared across multiple web entry points.
Reflected XSS: User-supplied font names were directly reflected in the HTML response without sanitization, exposing users to malicious script execution via crafted URLs.