title: WordPress Photo Gallery Plugin <= 1.8.21 Stored Cross Site Scripting in UploadHandler
description: The image upload component allows SVG files and the regular expression used to remove script tags can be bypassed by using a Cross Site Scripting payload which does not match the regular expression; one example of this is the inclusion of whitespace within the script tag. An attacker must target an authenticated user with permissions to access this feature, however once uploaded the payload is also accessible to unauthenticated users.
problem types: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
vendor: 10Web
product: PhotoGallery
defaultStatus: unaffected
versions:
version: 1.0.1, status: affected, lessThanOrEqual: 1.8.21, versionType: semver
}
metrics:
cvssV3_1: [
version: 3.1
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
baseScore: 5.4
baseSeverity: MEDIUM
]