CVE-2026-71249: 299Ko: Unauthenticated Reflected XSS in Public Contact Form

Published Aug 5, 2026
·
Updated

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, showvar()) echoes values with no htmlspecialchars() call, and the sink template (contact.tpl) outputs these values unescaped into an HTML attribute and a textarea. An unauthenticated attacker can submit a payload such as name="><script>alert(document.domain)</script> to achieve reflected XSS against any visitor who submits or is tricked into auto-submitting the form, including a targeted administrator, enabling session token theft.

Affected Software

1 affected component
299Ko's public contact form

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update contact.tpl so that the variables populated from POST fields (name, firstname, email, message) are output using escaping (the template variable output currently reflects them into HTML attributes and a textarea with no htmlspecialchars()).

    299Ko contact form template output (contact.tpl) HTML escaping for reflected variables = Use escaped output (e.g., ensure htmlspecialchars()/equivalent is applied) instead of unescaped printing in HTML attributes and <textarea>

Event History

Aug 5, 2026
CVE Published
via MITRE·10:57 AM
Data Sourced
via MITRE·10:57 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71249?

CVE-2026-71249 has a medium severity score of 6.1.

2

What type of vulnerability is CVE-2026-71249?

CVE-2026-71249 is classified as an unauthenticated reflected cross-site scripting (XSS) vulnerability.

3

How do I fix CVE-2026-71249?

To fix CVE-2026-71249, ensure that user inputs in the public contact form are properly sanitized before being rendered in the template.

4

What software is affected by CVE-2026-71249?

CVE-2026-71249 affects the 299Ko public contact form software.

5

When was CVE-2026-71249 published?

CVE-2026-71249 was published on August 5, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203