# CVE-2026-34229: Emlog stored XSS in comment module via URI scheme bypass

Source: https://junglewise.ai/threats/cve-2026-34229-emlog-stored-xss-in-comment-module-via-uri-scheme-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-03. Updated: 2026-07-25  
License: CC BY 4.0 with a link back

CVE-2026-34229 · Severity: medium · CVSS 6.1 · Published 2026-04-03

Emlog is an open-source website building and content management system. A security flaw in its comment module allows attackers to post malicious links that, when clicked by a site administrator or visitor, can execute unauthorized code in their browser. This could lead to the theft of login sessions, unauthorized access to the website's management area, or the redirection of users to malicious sites.

Technologies: [Emlog](https://junglewise.ai/threats/technologies/emlog). Vendors: [Emlog](https://junglewise.ai/threats/vendors/emlog).

## Quick answers

**Is CVE-2026-34229 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34229 being exploited in the wild.

**How severe is CVE-2026-34229?** Medium severity, with a CVSS score of 6.1, published 3 April 2026.

**Which products and versions are affected?** Emlog < 2.6.8.

**Is there a fix for CVE-2026-34229?** A patch was published on 2026-04-03: Fix committed to main branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34229 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-34229?** Check whether you run Emlog at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in the Emlog comment module within the UBB parsing engine. The 'parseUBB' function in 'include/lib/common.php' uses a regular expression to convert '[url]' tags into HTML '<a>' tags without validating the URI scheme. By submitting a comment containing a 'javascript:' pseudo-protocol, an attacker can inject malicious scripts into the 'href' attribute. This bypasses standard HTML entity escaping because the payload resides within the attribute value. Exploitation requires a user or administrator to click the malicious link, potentially leading to session hijacking or sensitive information disclosure. The issue is fixed in version 2.6.8 by restricting URL and image tags to the http/https protocols.

## Affected products

- emlog emlog < 2.6.8

## Timeline

- 2026-03-27: advisory: Vendor advisory published via GitHub GHSA-74gp-xh6w-hqw6
- 2026-04-03: disclosed: CVE-2026-34229 published
- 2026-04-03: patched: Fix committed to main branch

## References

- [https://github.com/emlog/emlog/commit/a12ab1b1a273fe634abab32fd28274c18bd57f07](https://github.com/emlog/emlog/commit/a12ab1b1a273fe634abab32fd28274c18bd57f07)
- [https://github.com/emlog/emlog/security/advisories/GHSA-74gp-xh6w-hqw6](https://github.com/emlog/emlog/security/advisories/GHSA-74gp-xh6w-hqw6)

## Related threats

- [Emlog stored XSS in tag names via article editor](https://junglewise.ai/threats/cve-2026-73848-emlog-stored-xss-in-tag-names-via-article-editor)
- [Emlog stored XSS in Markdown article rendering](https://junglewise.ai/threats/cve-2026-53758-emlog-stored-xss-in-markdown-article-rendering)
- [Emlog path traversal in ZIP extraction enables RCE](https://junglewise.ai/threats/cve-2026-53757-emlog-path-traversal-in-zip-extraction-enables-rce)
- [Emlog SQL injection in queryDatabase function](https://junglewise.ai/threats/cve-2026-73850-emlog-sql-injection-in-querydatabase-function)
- [Emlog unauthenticated installation in install.php](https://junglewise.ai/threats/cve-2026-73849-emlog-unauthenticated-installation-in-install-php)
