Stored XSS via unchecked gallery settings
Published Mar 23, 2022 · Updated Apr 8, 2026
Stored XSS in THRIVE PhotoSwipe Masonry Gallery 1.2.14 and earlier allows remote authenticated users to execute scripts via settings. The update handler lacks capability and nonce checks and stores four POSTed image-dimension values without validation or sanitization. Any authenticated account can plant JavaScript that runs for administrators viewing the options page or visitors opening an affected gallery.
Summary
What happened
Stored XSS in THRIVE PhotoSwipe Masonry Gallery 1.2.14 and earlier allows remote authenticated users to execute scripts via settings. The update handler lacks capability and nonce checks and stores four POSTed image-dimension values without validation or sanitization. Any authenticated account can plant JavaScript that runs for administrators viewing the options page or visitors opening an affected gallery.
The record
- CVE
- CVE-2022-0750
- Published
- Mar 23, 2022
- Updated
- Apr 8, 2026
- Vendor
- THRIVE - Web Design Gold Coast
- Product
- PhotoSwipe Masonry Gallery
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 23, 2022CVE publishedPublication date reported by the CVE source.
- Apr 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.2.14
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Wordfence authenticated stored-XSS demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo