WP Circliful <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'id' Shortcode Attribute
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.4epss 0.3%
exploitation probability
0.3%top 75% of all CVEs
observed exploitation
nono source reports it
The WP Circliful plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' shortcode attribute of the [circliful] shortcode and via multiple shortcode attributes of the [circliful_direct] shortcode in all versions up to and including 1.2. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. Specifically, in the circliful_shortcode() function, the 'id' attribute value is concatenated directly into an HTML id attribute (line 285) without any escaping, allowing an attacker to break out of the double-quoted attribute and inject arbitrary HTML event handlers. Similarly, the circliful_direct_shortcode() function (line 257) outputs all shortcode attributes directly into HTML data-* attributes without escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Affected products
bappidgreat · WP CirclifulReferences
https://plugins.trac.wordpress.org/browser/wp-circliful/tags/1.2/wp-circliful.php#L241https://plugins.trac.wordpress.org/browser/wp-circliful/tags/1.2/wp-circliful.php#L257https://plugins.trac.wordpress.org/browser/wp-circliful/tags/1.2/wp-circliful.php#L263https://plugins.trac.wordpress.org/browser/wp-circliful/tags/1.2/wp-circliful.php#L285https://plugins.trac.wordpress.org/browser/wp-circliful/trunk/wp-circliful.php#L241https://plugins.trac.wordpress.org/browser/wp-circliful/trunk/wp-circliful.php#L257https://plugins.trac.wordpress.org/browser/wp-circliful/trunk/wp-circliful.php#L263https://plugins.trac.wordpress.org/browser/wp-circliful/trunk/wp-circliful.php#L285https://www.wordfence.com/threat-intel/vulnerabilities/id/030534e2-bf7d-42e4-94a1-986f629bea15?source=cve