Comments – wpDiscuz <= 7.7.0 - Unauthenticated Stored Cross-Site Scripting via Comment Span Title (Attachment Lightbox)

Medium 6.1 CWE-79Fixed in 7.8.0
ID
WPSEC-2026-4702
Plugin
Comments – wpDiscuz (wpdiscuz)
Affected
from 7.6.48 before 7.8.0
Remediation
Update to 7.8.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-05
Attack surface
Comments – wpDiscuz on WPSec AttackSurface
Fix released
Published

Description

The wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via span markup in comment content in all versions up to, and including, 7.7.0, due to the comment HTML allow-list accepting the title attribute on span elements and the Media Uploader lightbox binding to every element with the wmu-lightbox class on the page. Colorbox prints the element's title into the lightbox as HTML. This makes it possible for unauthenticated attackers, where guest commenting is allowed, to inject arbitrary web scripts that execute when a user clicks the crafted element. The Media Uploader lightbox must be enabled, which it is by default.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0