{"id":"CVE-2026-27469","aliases":["CVE-2026-27469","GHSA-9fww-8cpr-q66r","PYSEC-2026-2527"],"related":[],"kind":"vulnerability","state":"published","title":"Isso: Stored XSS via comment website field","summary":"Isso is a lightweight commenting server written in Python and JavaScript. In commits before 0afbfe0691ee237963e8fb0b2ee01c9e55ca2144, there is a stored Cross-Site Scripting (XSS) vulnerability affecting the website and author comment fields. The website field was HTML-escaped using quote=False, which left single and double quotes unescaped. Since the frontend inserts the website value directly into a single-quoted href attribute via string concatenation, a single quote in the URL breaks out of the attribute context, allowing injection of arbitrary event handlers (e.g. onmouseover, onclick). The same escaping is missing entirely from the user-facing comment edit endpoint (PUT /id/) and the moderation edit endpoint (POST /id//edit/). This issue has been patched in commit 0afbfe0691ee237963e8fb0b2ee01c9e55ca2144. To workaround, nabling comment moderation (moderation = enabled = true in isso.cfg) prevents unauthenticated users from publishing comments, raising the bar for exploitation, but it does not fully mitigate the issue since a moderator activating a malicious comment would still expose visitors.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Isso is a lightweight commenting server written in Python and JavaScript. In commits before 0afbfe0691ee237963e8fb0b2ee01c9e55ca2144, there is a stored Cross-Site Scripting (XSS) vulnerability affecting the website and author comment fields. The website field was HTML-escaped using quote=False, which left single and double quotes unescaped. Since the frontend inserts the website value directly into a single-quoted href attribute via string concatenation, a single quote in the URL breaks out of the attribute context, allowing injection of arbitrary event handlers (e.g. onmouseover, onclick). The same escaping is missing entirely from the user-facing comment edit endpoint (PUT /id/) and the moderation edit endpoint (POST /id//edit/). This issue has been patched in commit 0afbfe0691ee237963e8fb0b2ee01c9e55ca2144. To workaround, nabling comment moderation (moderation = enabled = true in isso.cfg) prevents unauthenticated users from publishing comments, raising the bar for exploitation, but it does not fully mitigate the issue since a moderator activating a malicious comment would still expose visitors.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nThis is a stored Cross-Site Scripting (XSS) vulnerability affecting the website and author comment fields. The website field was HTML-escaped using quote=False, which left single and double quotes unescaped. Since the frontend inserts the website value directly into a single-quoted href attribute via string concatenation, a single quote in the URL breaks out of the attribute context, allowing injection of arbitrary event handlers (e.g. onmouseover, onclick).\n\nThe same escaping was missing entirely from the user-facing comment edit endpoint (PUT /id/<id>) and the moderation edit endpoint (POST /id/<id>/edit/<key>).\n\nAny visitor to a page embedding isso comments is impacted. No authentication or interaction beyond mouse movement is required to trigger a payload — an attacker can post a comment anonymously (moderation is off by default) with a crafted website URL, and the payload persists in the database and fires on every page load. With the full-page invisible overlay technique described in the report, the victim only needs to move their mouse.\n\n## Patches\n\nThe issue is fixed in commit 3cf27c2. Users should upgrade to a version containing that commit once released. The fix applies html.escape(..., quote=True) to the website field across all three write paths (POST /new, PUT /id/<id>, POST /id/<id>/edit/<key>), and adds input validation and escaping to the moderation edit endpoint which previously had neither.\n\n## Workarounds\n\n  Enabling comment moderation (moderation = enabled = true in isso.cfg) prevents unauthenticated users from publishing comments, raising the bar for exploitation. However, it\n  does not fully mitigate the issue since a moderator activating a malicious comment would still expose visitors. There is no configuration-only workaround that fully prevents\n   the vulnerability.\n\n## Resources\n\n  - https://docs.python.org/3/library/html.html#html.escape — note the quote parameter","format":"markdown","source":"ghsa"},{"lang":"es","text":"Isso es un servidor de comentarios ligero escrito en Python y JavaScript. En commits anteriores a 0afbfe0691ee237963e3fb0b2ee01c9e55ca2144, existe una vulnerabilidad de cross-site scripting (XSS) almacenado que afecta los campos de sitio web y de comentario del autor. El campo del sitio web fue escapado en HTML usando quote=False, lo que dejó las comillas simples y dobles sin escapar. Dado que el frontend inserta el valor del sitio web directamente en un atributo href entre comillas simples mediante concatenación de cadenas, una comilla simple en la URL rompe el contexto del atributo, permitiendo la inyección de manejadores de eventos arbitrarios (p. ej. onmouseover, onclick). El mismo escape está completamente ausente del endpoint de edición de comentarios para el usuario (PUT /id/) y del endpoint de edición de moderación (POST /id//edit/). Este problema ha sido parcheado en el commit 0afbfe0691ee237963e3fb0b2ee01c9e55ca2144. Como solución alternativa, habilitar la moderación de comentarios (moderation = enabled = true en isso.cfg) evita que los usuarios no autenticados publiquen comentarios, elevando la dificultad para la explotación, pero no mitiga completamente el problema ya que un moderador que active un comentario malicioso aún expondría a los visitantes.","source":"nvd"}],"published":"2026-02-21T07:24:38.971Z","modified":"2026-07-13T16:42:33.405Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-116"],"affected":[{"ranges":[{"version":"< 0afbfe0691ee237963e8fb0b2ee01c9e55ca2144","status":"affected"}],"vendor":"isso-comments","product":"isso","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.13.2"}],"ecosystem":"PyPI","package":"isso","purl":"pkg:pypi/isso","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.13.2"}],"ecosystem":"PyPI","package":"isso","purl":"pkg:pypi/isso","source":"pysec"}],"references":[{"url":"https://github.com/isso-comments/isso/security/advisories/GHSA-9fww-8cpr-q66r","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/isso-comments/isso/commit/0afbfe0691ee237963e8fb0b2ee01c9e55ca2144","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://docs.python.org/3/library/html.html#html.escape","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27469","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/isso-comments/isso","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/isso","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-9fww-8cpr-q66r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-24T18:49:50.634Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27469","url":"https://www.cve.org/CVERecord?id=CVE-2026-27469","licence":"CVE Terms of Use","modified":"2026-02-24T18:50:07.650Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9fww-8cpr-q66r","url":"https://github.com/advisories/GHSA-9fww-8cpr-q66r","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:33.405Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27469","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27469","licence":"Public domain","modified":"2026-06-17T10:27:12.310Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2527","url":"https://osv.dev/vulnerability/PYSEC-2026-2527","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:58.129Z"}],"updatedAt":"2026-11-25T22:59:14.608Z","epss":{"score":0.00265,"percentile":0.19672,"date":"2026-12-01T12:00:22.000Z"}}