LiveActive security incident?Get immediate response
CVE Record

CVE-2021-25117: WP Postratings < 1.86.1 - Admin+ Stored Cross-Site Scripting

The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-25117 affects the WP-PostRatings WordPress plugin before 1.86.1. An administrator-level user can save unsafe content in a plugin option, creating stored cross-site scripting. Business impact is limited by the need for admin access, but it can still matter on multi-admin or restricted-admin WordPress sites.

Executive priority

Treat as a moderate-priority cleanup item. It is not an unauthenticated takeover issue, but it can create persistent browser-side risk if an admin account is compromised or delegated admin access is misused.

Technical view

The plugin fails to sanitize the postratings_image parameter on its admin options page. The issue is admin-accessible and CSRF-protected, but remains exploitable where the unfiltered_html capability is disabled. CVSS 3.1 is 4.8 with high privileges required, user interaction required, changed scope, and low confidentiality and integrity impact.

Likely exposure

Exposure is likely limited to WordPress sites running WP-PostRatings before 1.86.1, especially installations with multiple administrators or restricted admin roles without unfiltered_html capability.

Exploitation context

The source bundle does not show CISA KEV listing or confirmed active exploitation. WPScan is cited as a technical vulnerability entry and tagged as exploit, but no source here proves exploitation in the wild.

Researcher notes

The key condition is stored XSS through postratings_image on the plugin options page. The vulnerability is constrained by administrator access and CSRF protection, but the source explicitly notes exploitability when unfiltered_html is disabled. Evidence is insufficient to claim active exploitation.

Mitigation direction

  • Upgrade WP-PostRatings to 1.86.1 or later.
  • Review vendor guidance for any additional remediation notes.
  • Restrict access to WordPress administrator accounts.
  • Remove unused administrator accounts and enforce MFA.
  • Audit plugin settings for unexpected stored content.

Validation and detection

  • Inventory WordPress sites using WP-PostRatings.
  • Confirm installed plugin versions are 1.86.1 or later.
  • Check whether any administrators lack unfiltered_html capability.
  • Review plugin option values for unexpected script-like content.
  • Review admin activity logs for recent plugin setting changes.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-352: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-25117 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.8CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N1.72.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.8Medium
CVSS 3.1 vector shape for CVE-2021-25117Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
UnknownWP-PostRatings0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-352 · source CWE mapping

Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.