CVE-2024-13700: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in spanrig Embed Swagger UI
The Embed Swagger UI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpsgui' shortcode in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
AI Analysis
Technical Summary
CVE-2024-13700 is a stored cross-site scripting vulnerability in the Embed Swagger UI plugin for WordPress, affecting all versions up to 1.0.0. The issue stems from improper neutralization of input (CWE-79) in the plugin's 'wpsgui' shortcode, where user-supplied attributes are not properly sanitized or escaped before being output in web pages. Authenticated attackers with contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users visiting the compromised pages. The vulnerability has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity without availability impact.
Potential Impact
An attacker with contributor-level access or higher can inject persistent malicious scripts into pages via the 'wpsgui' shortcode. These scripts execute in the browsers of users who visit the infected pages, potentially leading to unauthorized actions such as session hijacking or data theft. The vulnerability affects confidentiality and integrity but does not impact availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Embed Swagger UI plugin if possible to prevent exploitation.
CVE-2024-13700: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in spanrig Embed Swagger UI
Description
The Embed Swagger UI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpsgui' shortcode in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-13700 is a stored cross-site scripting vulnerability in the Embed Swagger UI plugin for WordPress, affecting all versions up to 1.0.0. The issue stems from improper neutralization of input (CWE-79) in the plugin's 'wpsgui' shortcode, where user-supplied attributes are not properly sanitized or escaped before being output in web pages. Authenticated attackers with contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users visiting the compromised pages. The vulnerability has a CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and partial impact on confidentiality and integrity without availability impact.
Potential Impact
An attacker with contributor-level access or higher can inject persistent malicious scripts into pages via the 'wpsgui' shortcode. These scripts execute in the browsers of users who visit the infected pages, potentially leading to unauthorized actions such as session hijacking or data theft. The vulnerability affects confidentiality and integrity but does not impact availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Embed Swagger UI plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-01-24T14:08:26.968Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6e69b7ef31ef0b5a02e8
Added to database: 2/25/2026, 9:49:29 PM
Last enriched: 4/9/2026, 7:35:04 PM
Last updated: 4/11/2026, 9:22:19 PM
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.