CVE Catalog

CVE-2026-71249

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

4th percentile - higher than 4% of all known CVEs

Summary

The public contact form plugin 299Ko's public contact form does not sanitize POST fields (name, firstname, email, message) before placing them into the page template. The template engine's variable output function does not use htmlspecialchars, and the contact.tpl template outputs values unescaped into an HTML attribute and a textarea.

Risk Assessment

An attacker can inject malicious HTML or JavaScript, leading to XSS attacks on users visiting the contact form page, data theft, or session hijacking.

Recommendation

Update the plugin to a version that includes input sanitization fixes. If not possible, apply escaping to all output in templates and implement server-side validation.

Related vulnerabilities

Original NVD description (English source)

299Ko's public contact form (plugin/contact/controllers/ContactController.php, home) sets raw POST field values (name, firstname, email, message) into the page template with no sanitization. The template engine's variable output function (common/Template.php, _show_var) echoes values with no htmlspecialchars call, and the sink template (contact.tpl) outputs these values unescaped into an HTML attribute and a textarea.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS