Firelight Lightbox <= 2.3.20 - Authenticated (Contributor+) Stored DOM Cross-Site Scripting via PDF beforeLoad 'href' Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Firelight Lightbox plugin for WordPress is vulnerable to Stored DOM Cross-Site Scripting in versions up to and including 2.3.20. This is due to insufficient sanitization of the href attribute value within the FancyBox V2 PDF beforeLoad JavaScript callback generated in inc/fancybox-2.php, where this.href is string-concatenated directly into an HTML string without escaping, allowing a stored href containing entity-encoded double-quotes to break out of the data attribute and inject arbitrary event handlers into the DOM. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts into pages that execute whenever a user clicks the malicious PDF link.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- firelightwp Firelight Lightbox
through 2.3.20
References 8
plugins.trac.wordpress.org
- browser/easy-fancybox/trunk/inc/fancybox-2.php#L322
- browser/easy-fancybox/trunk/fancybox/2.2.0/jquery.fancybox.js#L280
- browser/easy-fancybox/trunk/fancybox/2.2.0/jquery.fancybox.js#L1235
- browser/easy-fancybox/tags/2.3.18/inc/fancybox-2.php#L322
- browser/easy-fancybox/tags/2.3.18/fancybox/2.2.0/jquery.fancybox.js#L280
- browser/easy-fancybox/tags/2.3.18/fancybox/2.2.0/jquery.fancybox.js#L1235
- changeset?reponame=&old=3610643%40easy-fancybox&new=3610643%40easy-fancybox