# CVE-2021-47951: WordPress Picture Gallery 1.4.2 Stored XSS via Edit Content URL

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-10T12:52:12.438Z
- Modified: 2026-07-25T10:10:00.167Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

WordPress Picture Gallery 1.4.2 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts through the Edit Content URL field in the Access Control settings. Attackers can enter JavaScript payloads in the plugin options that are stored in the database and executed when the functionality is triggered, enabling session hijacking or credential theft.

(As written by CVE List.)

## Affected

- picture-gallery Picture Gallery: 1.4.2

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- VulnCheck: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://www.exploit-db.com/exploits/50187> (exploit)
- <https://wordpress.org/plugins/picture-gallery/> (product)
- <https://www.vulncheck.com/advisories/wordpress-picture-gallery-stored-xss-via-edit-content-url> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47951](https://www.cve.org/CVERecord?id=CVE-2021-47951), CVE Terms of Use, modified 2026-05-24
- NVD: [CVE-2021-47951](https://nvd.nist.gov/vuln/detail/CVE-2021-47951), Public domain, modified 2026-07-25

---

Page: https://cve.day/CVE-2021-47951 · Whole record: https://cve.day/CVE-2021-47951.json · Rebuilt by cve.day 2026-11-25T22:58:09.105Z
